mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 01:48:25 +03:00
group is case insensitive
This commit is contained in:
parent
616893955f
commit
b62803a03a
2 changed files with 3 additions and 3 deletions
|
@ -339,7 +339,8 @@ namespace Bit.App.Pages
|
|||
private void LoadSections(Cipher[] ciphers, CancellationToken ct)
|
||||
{
|
||||
ct.ThrowIfCancellationRequested();
|
||||
var sections = ciphers.GroupBy(c => c.NameGroup).Select(g => new Section<Cipher>(g.ToList(), g.Key));
|
||||
var sections = ciphers.GroupBy(c => c.NameGroup.ToUpperInvariant())
|
||||
.Select(g => new Section<Cipher>(g.ToList(), g.Key));
|
||||
ct.ThrowIfCancellationRequested();
|
||||
Device.BeginInvokeOnMainThread(() =>
|
||||
{
|
||||
|
|
|
@ -72,8 +72,7 @@ namespace Bit.App.Pages
|
|||
ItemsSource = PresentationSections,
|
||||
HasUnevenRows = true,
|
||||
GroupHeaderTemplate = new DataTemplate(() => new SectionHeaderViewCell(
|
||||
nameof(Section<Grouping>.Name), nameof(Section<Grouping>.Count),
|
||||
new Thickness(16, Helpers.OnPlatform(20, 12, 12), 16, 12))),
|
||||
nameof(Section<Grouping>.Name), nameof(Section<Grouping>.Count), new Thickness(16, 12))),
|
||||
ItemTemplate = new DataTemplate(() => new VaultGroupingViewCell())
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue