mirror of
https://github.com/bitwarden/mobile
synced 2025-12-23 03:33:59 +00:00
CipherListOptions
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user