1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-06 10:34:07 +00:00

move favorites to top of grouping page

This commit is contained in:
Kyle Spearrin
2017-12-19 23:59:12 -05:00
parent a4fbd521e3
commit b6a4efa7ba
5 changed files with 132 additions and 39 deletions

View File

@@ -185,6 +185,24 @@ namespace Bit.App.Models.Page
public string Name { get; set; }
}
public class GroupingOrCipher
{
public GroupingOrCipher(Grouping grouping)
{
Grouping = grouping;
Cipher = null;
}
public GroupingOrCipher(Cipher cipher)
{
Cipher = cipher;
Grouping = null;
}
public Grouping Grouping { get; set; }
public Cipher Cipher { get; set; }
}
public class Grouping
{
public Grouping(string name, int count)