1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-10 13:23:39 +00:00

list section separator on settings page

This commit is contained in:
Kyle Spearrin
2019-05-31 11:52:56 -04:00
parent aa3fd29508
commit 6588b5bebb
3 changed files with 14 additions and 6 deletions

View File

@@ -4,7 +4,8 @@ namespace Bit.App.Pages
{
public class SettingsPageListGroup : List<SettingsPageListItem>
{
public SettingsPageListGroup(List<SettingsPageListItem> groupItems, string name, bool doUpper = true)
public SettingsPageListGroup(List<SettingsPageListItem> groupItems, string name, bool doUpper = true,
bool first = false)
{
AddRange(groupItems);
if(string.IsNullOrWhiteSpace(name))
@@ -19,8 +20,10 @@ namespace Bit.App.Pages
{
Name = name;
}
First = first;
}
public bool First { get; set; }
public string Name { get; set; }
}
}