Click delete on an empty list crashes app

Expected behavior

Using delete list option on an empty list should show toast notification of no list to delete, or should be greyed out.

Actual behavior

Delete option on an empty list makes the app to crash.

How to reproduce

  • Download app here.
  • Delete the default list to get an empty list.
  • Use the delete option on the empty list.
  • App crashes

  • App: Shopping list version 0.9.0
  • Operating system: Android Nougat 7.0

Recording Of The Bug

20180330_174720.gif



Posted on Utopian.io - Rewarding Open Source Contributors

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now