mirror of
https://github.com/bitwarden/mobile
synced 2025-12-20 10:13:42 +00:00
pop pages if cipher doesnt exist
This commit is contained in:
@@ -54,7 +54,14 @@ namespace Bit.App.Pages
|
||||
protected override async void OnAppearing()
|
||||
{
|
||||
base.OnAppearing();
|
||||
await LoadOnAppearedAsync(_scrollView, true, () => _vm.LoadAsync(_appOptions));
|
||||
await LoadOnAppearedAsync(_scrollView, true, async () =>
|
||||
{
|
||||
var success = await _vm.LoadAsync();
|
||||
if(!success)
|
||||
{
|
||||
await Navigation.PopModalAsync();
|
||||
}
|
||||
});
|
||||
if(_vm.EditMode && Device.RuntimePlatform == Device.Android)
|
||||
{
|
||||
if(_vm.Cipher.OrganizationId == null)
|
||||
|
||||
Reference in New Issue
Block a user