1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-23 03:33:59 +00:00

CipherListOptions

This commit is contained in:
Kyle Spearrin
2019-05-29 23:35:34 -04:00
parent cc8b8f9ceb
commit 86d8d64bf6
5 changed files with 126 additions and 9 deletions

View File

@@ -1,4 +1,5 @@
using Bit.App.Resources;
using Bit.App.Utilities;
using Bit.Core.Abstractions;
using Bit.Core.Enums;
using Bit.Core.Models.Domain;
@@ -374,16 +375,10 @@ namespace Bit.App.Pages
private async void CipherOptionsAsync(CipherView cipher)
{
if(!(Page as BaseContentPage).DoOnce())
if((Page as BaseContentPage).DoOnce())
{
return;
await AppHelpers.CipherListOptions(Page, cipher);
}
var option = await Page.DisplayActionSheet(cipher.Name, AppResources.Cancel, null, "1", "2");
if(option == AppResources.Cancel)
{
return;
}
// TODO: process options
}
}
}