mirror of
https://github.com/bitwarden/android.git
synced 2024-12-26 19:08:32 +03:00
alphabetize org list in vault filter (#1945)
This commit is contained in:
parent
fba407f3b6
commit
dd6003bd4f
2 changed files with 2 additions and 2 deletions
|
@ -242,7 +242,7 @@ namespace Bit.App.Pages
|
||||||
var options = new List<string> { AppResources.AllVaults, AppResources.MyVault };
|
var options = new List<string> { AppResources.AllVaults, AppResources.MyVault };
|
||||||
if (_organizations.Any())
|
if (_organizations.Any())
|
||||||
{
|
{
|
||||||
options.AddRange(_organizations.Select(o => o.Name));
|
options.AddRange(_organizations.OrderBy(o => o.Name).Select(o => o.Name));
|
||||||
}
|
}
|
||||||
var selection = await Page.DisplayActionSheet(AppResources.FilterByVault, AppResources.Cancel, null,
|
var selection = await Page.DisplayActionSheet(AppResources.FilterByVault, AppResources.Cancel, null,
|
||||||
options.ToArray());
|
options.ToArray());
|
||||||
|
|
|
@ -399,7 +399,7 @@ namespace Bit.App.Pages
|
||||||
var options = new List<string> { AppResources.AllVaults, AppResources.MyVault };
|
var options = new List<string> { AppResources.AllVaults, AppResources.MyVault };
|
||||||
if (_organizations.Any())
|
if (_organizations.Any())
|
||||||
{
|
{
|
||||||
options.AddRange(_organizations.Select(o => o.Name));
|
options.AddRange(_organizations.OrderBy(o => o.Name).Select(o => o.Name));
|
||||||
}
|
}
|
||||||
var selection = await Page.DisplayActionSheet(AppResources.FilterByVault, AppResources.Cancel, null,
|
var selection = await Page.DisplayActionSheet(AppResources.FilterByVault, AppResources.Cancel, null,
|
||||||
options.ToArray());
|
options.ToArray());
|
||||||
|
|
Loading…
Reference in a new issue