-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frontend/android: check if webview can go back or close the app
This should replace native Android back behavior with either going back in the webview or closing the app. This is using the native goBack method but it seems that the app only goes back to account summary. This could probably be improved later and seems already useful with just going back to summary. On the account summary it cannot go back any further so it will trigger the old do-you-want-to-quit alert. Replaced deprecated onBackPressed override.
- Loading branch information
1 parent
365dfd4
commit 772821e
Showing
1 changed file
with
42 additions
and
35 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