mirror of
https://github.com/bitwarden/android.git
synced 2026-03-09 11:44:41 -05:00
[PM-15643] Show FAB in empty item type filters (#4490)
This commit is contained in:
@@ -1758,8 +1758,8 @@ data class VaultItemListingState(
|
||||
* Whether or not the add FAB should be shown.
|
||||
*/
|
||||
val hasAddItemFabButton: Boolean
|
||||
get() = itemListingType.hasFab &&
|
||||
!(viewState is ViewState.NoItems && viewState.shouldShowAddButton)
|
||||
get() = itemListingType.hasFab ||
|
||||
(viewState is ViewState.NoItems && viewState.shouldShowAddButton)
|
||||
|
||||
/**
|
||||
* Whether or not this represents a listing screen for autofill.
|
||||
|
||||
Reference in New Issue
Block a user