mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +03:00
do once
This commit is contained in:
parent
6588b5bebb
commit
dd090b0ed9
2 changed files with 10 additions and 4 deletions
|
@ -51,8 +51,11 @@ namespace Bit.App.Pages
|
||||||
|
|
||||||
private async void AddButton_Clicked(object sender, EventArgs e)
|
private async void AddButton_Clicked(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var page = new FolderAddEditPage();
|
if(DoOnce())
|
||||||
await Navigation.PushModalAsync(new NavigationPage(page));
|
{
|
||||||
|
var page = new FolderAddEditPage();
|
||||||
|
await Navigation.PushModalAsync(new NavigationPage(page));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -174,8 +174,11 @@ namespace Bit.App.Pages
|
||||||
|
|
||||||
private async void AddButton_Clicked(object sender, System.EventArgs e)
|
private async void AddButton_Clicked(object sender, System.EventArgs e)
|
||||||
{
|
{
|
||||||
var page = new AddEditPage(null, _vm.Type, _vm.FolderId, _vm.CollectionId);
|
if(DoOnce())
|
||||||
await Navigation.PushModalAsync(new NavigationPage(page));
|
{
|
||||||
|
var page = new AddEditPage(null, _vm.Type, _vm.FolderId, _vm.CollectionId);
|
||||||
|
await Navigation.PushModalAsync(new NavigationPage(page));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue