1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-30 15:13:24 +00:00

only show top level groupings on main vault page

This commit is contained in:
Kyle Spearrin
2018-12-05 17:26:16 -05:00
parent c0eb84b7b1
commit 5cc1e2bb29
4 changed files with 41 additions and 26 deletions

View File

@@ -191,7 +191,7 @@ namespace Bit.App.Models.Page
public class GroupingOrCipher
{
public GroupingOrCipher(Grouping grouping)
public GroupingOrCipher(TreeNode<Grouping> grouping)
{
Grouping = grouping;
Cipher = null;
@@ -203,11 +203,11 @@ namespace Bit.App.Models.Page
Grouping = null;
}
public Grouping Grouping { get; set; }
public TreeNode<Grouping> Grouping { get; set; }
public Cipher Cipher { get; set; }
}
public class Grouping
public class Grouping : ITreeNodeObject
{
public Grouping(string name, int count)
{