twofas / 2fas-android

Source code for 2FAS Android app
GNU General Public License v3.0
1.01k stars 73 forks source link

feat: hide empty groups in search results #173

Open jack66128 opened 1 month ago

jack66128 commented 1 month ago

Feature description

When using the search bar to filter services, hide groups where none of their services match the search terms.

Screenshot_2FAS Auth

Motivation

This would make for cleaner search results, particularly if there are many groups. Services can be hidden under the keyboard, requiring the user to dismiss the keyboard to check if the search actually returned anything.

Acknowledgements

vinayhegde1990 commented 1 month ago

+1 to having this. Please review providing an option to delete the My Tokens default folder as we normally create custom folders so this is hardly used.