mirror of
https://github.com/bitwarden/android.git
synced 2024-12-18 23:31:52 +03:00
Only display folders that have contents
This commit is contained in:
parent
4ba721b314
commit
cd9d06b0b3
2 changed files with 3 additions and 3 deletions
|
@ -71,7 +71,7 @@ namespace Bit.App.Pages
|
|||
{
|
||||
_page = page;
|
||||
Text = AppResources.Add;
|
||||
Icon = "ion_plus";
|
||||
Icon = "plus";
|
||||
Clicked += ClickedItem;
|
||||
}
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ namespace Bit.App.Pages
|
|||
var noneFolder = new VaultListPageModel.Folder(sites.Where(s => s.FolderId == null));
|
||||
pageFolders.Add(noneFolder);
|
||||
|
||||
Folders.ResetWithRange(pageFolders);
|
||||
Folders.ResetWithRange(pageFolders.Where(f => f.Any()));
|
||||
}
|
||||
|
||||
private void SiteSelected(object sender, SelectedItemChangedEventArgs e)
|
||||
|
@ -206,7 +206,7 @@ namespace Bit.App.Pages
|
|||
Children = { image, label },
|
||||
BackgroundColor = Color.FromHex("ecf0f5")
|
||||
};
|
||||
|
||||
|
||||
View = stackLayout;
|
||||
Height = 30;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue