Only display folders that have contents

This commit is contained in:
Kyle Spearrin 2016-06-14 22:19:40 -04:00
parent 4ba721b314
commit cd9d06b0b3
2 changed files with 3 additions and 3 deletions

View file

@ -71,7 +71,7 @@ namespace Bit.App.Pages
{
_page = page;
Text = AppResources.Add;
Icon = "ion_plus";
Icon = "plus";
Clicked += ClickedItem;
}

View file

@ -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;
}