-
-
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 for CardTemplateBrowserAppearanceEditor
The previous code was showing a discard dialog if there were any changes, meaning that the user entered something different in the input boxed than what text was the screen initialized with. The fix introduces two listeners for the input boxes to use them as a dynamic listener for when there's change and implicitly could be BACK changes as well. The code still shows the discard changes dialog for the UP button in the toolbar like before.
- Loading branch information
Showing
1 changed file
with
29 additions
and
25 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