mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
preserve none folder filter
This commit is contained in:
parent
33684bd140
commit
e46277c2ac
1 changed files with 4 additions and 4 deletions
|
@ -239,10 +239,10 @@ namespace Bit.App.Pages
|
||||||
else if(FolderId != null)
|
else if(FolderId != null)
|
||||||
{
|
{
|
||||||
NoDataText = AppResources.NoItemsFolder;
|
NoDataText = AppResources.NoItemsFolder;
|
||||||
FolderId = FolderId == "none" ? null : FolderId;
|
var folderId = FolderId == "none" ? null : FolderId;
|
||||||
if(FolderId != null)
|
if(folderId != null)
|
||||||
{
|
{
|
||||||
var folderNode = await _folderService.GetNestedAsync(FolderId);
|
var folderNode = await _folderService.GetNestedAsync(folderId);
|
||||||
if(folderNode?.Node != null)
|
if(folderNode?.Node != null)
|
||||||
{
|
{
|
||||||
PageTitle = folderNode.Node.Name;
|
PageTitle = folderNode.Node.Name;
|
||||||
|
@ -253,7 +253,7 @@ namespace Bit.App.Pages
|
||||||
{
|
{
|
||||||
PageTitle = AppResources.FolderNone;
|
PageTitle = AppResources.FolderNone;
|
||||||
}
|
}
|
||||||
Ciphers = _allCiphers.Where(c => c.FolderId == FolderId).ToList();
|
Ciphers = _allCiphers.Where(c => c.FolderId == folderId).ToList();
|
||||||
}
|
}
|
||||||
else if(CollectionId != null)
|
else if(CollectionId != null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue