-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor [squash]: remove CreateCustomStudySessionListener.kt (#17510)
* refactor: remove hide/showProgressBar We now have all of these calls in `launchCatchingTask` / `showProgress` so an additional progress bar is not necessary Adds `withProgress { }` for Fragments with a default 'Processing' string * refactor: inline CreateCustomStudySessionListener It's just a callback, so use the interface * refactor: remove CreateCustomStudySessionListener.kt Just call the method after it's executed We're now using coroutines, so a continuation is much simpler * refactor: remove use of 'decks' outside `withCol` * refactor: 'cram' to 'dynamicDeck' We no longer use 'cram' * docs: dismissAllDialogFragments is required and can't be this.dismiss() inside the block for now
- Loading branch information
1 parent
34b36c1
commit 12f9953
Showing
4 changed files
with
16 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 0 additions & 46 deletions
46
...roid/src/main/java/com/ichi2/anki/dialogs/customstudy/CreateCustomStudySessionListener.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters