This commit is contained in:
Kyle Spearrin 2019-05-31 11:55:11 -04:00
parent 6588b5bebb
commit dd090b0ed9
2 changed files with 10 additions and 4 deletions

View file

@ -50,9 +50,12 @@ namespace Bit.App.Pages
} }
private async void AddButton_Clicked(object sender, EventArgs e) private async void AddButton_Clicked(object sender, EventArgs e)
{
if(DoOnce())
{ {
var page = new FolderAddEditPage(); var page = new FolderAddEditPage();
await Navigation.PushModalAsync(new NavigationPage(page)); await Navigation.PushModalAsync(new NavigationPage(page));
} }
} }
} }
}

View file

@ -173,9 +173,12 @@ namespace Bit.App.Pages
} }
private async void AddButton_Clicked(object sender, System.EventArgs e) private async void AddButton_Clicked(object sender, System.EventArgs e)
{
if(DoOnce())
{ {
var page = new AddEditPage(null, _vm.Type, _vm.FolderId, _vm.CollectionId); var page = new AddEditPage(null, _vm.Type, _vm.FolderId, _vm.CollectionId);
await Navigation.PushModalAsync(new NavigationPage(page)); await Navigation.PushModalAsync(new NavigationPage(page));
} }
} }
} }
}