mirror of
https://github.com/bitwarden/android.git
synced 2025-03-28 00:29:24 +03:00
0-9 is now #
This commit is contained in:
parent
0f387a139b
commit
616893955f
2 changed files with 7 additions and 7 deletions
|
@ -37,7 +37,7 @@ namespace Bit.App.Controls
|
||||||
Style = (Style)Application.Current.Resources["text-muted"],
|
Style = (Style)Application.Current.Resources["text-muted"],
|
||||||
HorizontalOptions = LayoutOptions.End
|
HorizontalOptions = LayoutOptions.End
|
||||||
};
|
};
|
||||||
CountLabel.SetBinding(Label.TextProperty, nameof(VaultListPageModel.Grouping.CipherCount));
|
CountLabel.SetBinding(Label.TextProperty, nameof(VaultListPageModel.Grouping.Count));
|
||||||
|
|
||||||
var stackLayout = new StackLayout
|
var stackLayout = new StackLayout
|
||||||
{
|
{
|
||||||
|
|
|
@ -31,7 +31,7 @@ namespace Bit.App.Models.Page
|
||||||
}
|
}
|
||||||
else if(Char.IsDigit(Name[0]))
|
else if(Char.IsDigit(Name[0]))
|
||||||
{
|
{
|
||||||
NameGroup = "0 - 9";
|
NameGroup = "#";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -192,15 +192,15 @@ namespace Bit.App.Models.Page
|
||||||
Id = null;
|
Id = null;
|
||||||
Name = name;
|
Name = name;
|
||||||
Folder = true;
|
Folder = true;
|
||||||
CipherCount = count;
|
Count = count;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Grouping(Models.Folder folder, int count)
|
public Grouping(Folder folder, int count)
|
||||||
{
|
{
|
||||||
Id = folder.Id;
|
Id = folder.Id;
|
||||||
Name = folder.Name?.Decrypt();
|
Name = folder.Name?.Decrypt();
|
||||||
Folder = true;
|
Folder = true;
|
||||||
CipherCount = count;
|
Count = count;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Grouping(Collection collection, int count)
|
public Grouping(Collection collection, int count)
|
||||||
|
@ -208,12 +208,12 @@ namespace Bit.App.Models.Page
|
||||||
Id = collection.Id;
|
Id = collection.Id;
|
||||||
Name = collection.Name?.Decrypt(collection.OrganizationId);
|
Name = collection.Name?.Decrypt(collection.OrganizationId);
|
||||||
Collection = true;
|
Collection = true;
|
||||||
CipherCount = count;
|
Count = count;
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Id { get; set; }
|
public string Id { get; set; }
|
||||||
public string Name { get; set; } = AppResources.FolderNone;
|
public string Name { get; set; } = AppResources.FolderNone;
|
||||||
public int CipherCount { get; set; }
|
public int Count { get; set; }
|
||||||
public bool Folder { get; set; }
|
public bool Folder { get; set; }
|
||||||
public bool Collection { get; set; }
|
public bool Collection { get; set; }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue