mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
pass _appOptions to load method
This commit is contained in:
parent
cab2b261b5
commit
312b6c2d44
1 changed files with 2 additions and 2 deletions
|
@ -112,12 +112,12 @@ namespace Bit.App.Pages
|
||||||
base.OnAppearing();
|
base.OnAppearing();
|
||||||
await LoadOnAppearedAsync(_scrollView, true, async () =>
|
await LoadOnAppearedAsync(_scrollView, true, async () =>
|
||||||
{
|
{
|
||||||
var success = await _vm.LoadAsync();
|
var success = await _vm.LoadAsync(_appOptions);
|
||||||
if(!success)
|
if(!success)
|
||||||
{
|
{
|
||||||
await Navigation.PopModalAsync();
|
await Navigation.PopModalAsync();
|
||||||
}
|
}
|
||||||
else if(!_vm.EditMode)
|
else if(!_vm.EditMode && string.IsNullOrWhiteSpace(_vm.Cipher.Name))
|
||||||
{
|
{
|
||||||
RequestFocus(_nameEntry);
|
RequestFocus(_nameEntry);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue