From cd9d06b0b365acb275828b323604f1b1c6dfcc4b Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 14 Jun 2016 22:19:40 -0400 Subject: [PATCH] Only display folders that have contents --- src/App/Pages/SettingsListFoldersPage.cs | 2 +- src/App/Pages/VaultListSitesPage.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App/Pages/SettingsListFoldersPage.cs b/src/App/Pages/SettingsListFoldersPage.cs index 3a7a3d5a1..d3e6b29fc 100644 --- a/src/App/Pages/SettingsListFoldersPage.cs +++ b/src/App/Pages/SettingsListFoldersPage.cs @@ -71,7 +71,7 @@ namespace Bit.App.Pages { _page = page; Text = AppResources.Add; - Icon = "ion_plus"; + Icon = "plus"; Clicked += ClickedItem; } diff --git a/src/App/Pages/VaultListSitesPage.cs b/src/App/Pages/VaultListSitesPage.cs index 3c47ffaec..2f07d60e3 100644 --- a/src/App/Pages/VaultListSitesPage.cs +++ b/src/App/Pages/VaultListSitesPage.cs @@ -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; }