mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
fix more options for sharing on view/add/edit
This commit is contained in:
parent
ea30373a09
commit
3ca5da55cb
2 changed files with 2 additions and 2 deletions
|
@ -251,7 +251,7 @@ namespace Bit.App.Pages
|
|||
var options = new List<string> { AppResources.Attachments };
|
||||
if(_vm.EditMode)
|
||||
{
|
||||
options.Add(_vm.Cipher.OrganizationId != null ? AppResources.Share : AppResources.Collections);
|
||||
options.Add(_vm.Cipher.OrganizationId == null ? AppResources.Share : AppResources.Collections);
|
||||
}
|
||||
var selection = await DisplayActionSheet(AppResources.Options, AppResources.Cancel,
|
||||
_vm.EditMode ? AppResources.Delete : null, options.ToArray());
|
||||
|
|
|
@ -154,7 +154,7 @@ namespace Bit.App.Pages
|
|||
return;
|
||||
}
|
||||
var options = new List<string> { AppResources.Attachments };
|
||||
options.Add(_vm.Cipher.OrganizationId != null ? AppResources.Share : AppResources.Collections);
|
||||
options.Add(_vm.Cipher.OrganizationId == null ? AppResources.Share : AppResources.Collections);
|
||||
var selection = await DisplayActionSheet(AppResources.Options, AppResources.Cancel,
|
||||
AppResources.Delete, options.ToArray());
|
||||
if(selection == AppResources.Delete)
|
||||
|
|
Loading…
Reference in a new issue