fsek / app

Repository for the F-sek mobile application
MIT License
10 stars 1 forks source link

Picker doesn't close on Android back button #227

Closed FredrikLastow closed 4 years ago

FredrikLastow commented 4 years ago

When having the picker open in the user page the back key doesn't close the picker, but rather tries to exit the page. This results in an alert instead of the picker closing. To fix this one would need to modify the backButton function to check if a picker is open before running alternativesView.router.back();.