-
-
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.
Fix onBackPressed() deprecation in SharedDecksActivity
Moved the previous back handling code from the activity to the related fragment. The predictive BACK navigation is done by changing the enabled status of the back callback every time isDownloadInProgress is updated. There was also a direct call to the activity onBackPressed() which was replaced by the equivalent onBackPressedDispatcher.onBackPressed().
- Loading branch information
Showing
2 changed files
with
12 additions
and
41 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
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