RavenProject / ravenwallet-ios

MIT License
25 stars 21 forks source link

Shows alert when whitelist is empty #149

Closed a2hill closed 4 years ago

a2hill commented 4 years ago

In response to ongoing discussion about whitelist functionality I've implemented an alert to notify the user that no assets will be displayed if the asset whitelist is left empty.

Initially the idea was to display the notification when the user attempts to navigate away from the asset filter settings screen. However capturing the back button press and displaying an alert would require implementing a custom back button. I feel that this solution is comparable, however I can implement a custom back button if need be.