mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
copy to remove no folder from list
This commit is contained in:
parent
60f81c5cba
commit
6838b32304
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ namespace Bit.App.Pages
|
||||||
// Remove "No Folder"
|
// Remove "No Folder"
|
||||||
if(folders?.Any() ?? false)
|
if(folders?.Any() ?? false)
|
||||||
{
|
{
|
||||||
folders.Remove(folders.Last());
|
folders = folders.GetRange(0, folders.Count - 1);
|
||||||
}
|
}
|
||||||
Folders.ResetWithRange(folders ?? new List<FolderView>());
|
Folders.ResetWithRange(folders ?? new List<FolderView>());
|
||||||
ShowNoData = Folders.Count == 0;
|
ShowNoData = Folders.Count == 0;
|
||||||
|
|
Loading…
Reference in a new issue