mirror of
https://github.com/bitwarden/android.git
synced 2026-04-29 20:38: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.
|
* Whether or not the add FAB should be shown.
|
||||||
*/
|
*/
|
||||||
val hasAddItemFabButton: Boolean
|
val hasAddItemFabButton: Boolean
|
||||||
get() = itemListingType.hasFab &&
|
get() = itemListingType.hasFab ||
|
||||||
!(viewState is ViewState.NoItems && viewState.shouldShowAddButton)
|
(viewState is ViewState.NoItems && viewState.shouldShowAddButton)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether or not this represents a listing screen for autofill.
|
* Whether or not this represents a listing screen for autofill.
|
||||||
|
|||||||
Reference in New Issue
Block a user