mirror of
https://github.com/bitwarden/mobile.git
synced 2025-01-06 18:47:50 +01:00
PM-7855 Fix null check to _appOptions to avoid NRE detected on AppCenter (#3209)
This commit is contained in:
parent
e4841bb322
commit
0b28b954fe
@ -233,7 +233,10 @@ namespace Bit.App.Pages
|
||||
}
|
||||
var previousPage = await AppHelpers.ClearPreviousPage();
|
||||
|
||||
_appOptions.HasJustLoggedInOrUnlocked = true;
|
||||
if (_appOptions != null)
|
||||
{
|
||||
_appOptions.HasJustLoggedInOrUnlocked = true;
|
||||
}
|
||||
App.MainPage = new TabsPage(_appOptions, previousPage);
|
||||
}
|
||||
}
|
||||
|
@ -36,7 +36,10 @@ namespace Bit.App.Pages
|
||||
return;
|
||||
}
|
||||
|
||||
_appOptions.HasJustLoggedInOrUnlocked = true;
|
||||
if (_appOptions != null)
|
||||
{
|
||||
_appOptions.HasJustLoggedInOrUnlocked = true;
|
||||
}
|
||||
var previousPage = await AppHelpers.ClearPreviousPage();
|
||||
App.MainPage = new TabsPage(_appOptions, previousPage);
|
||||
}
|
||||
|
@ -196,7 +196,10 @@ namespace Bit.App.Pages
|
||||
return;
|
||||
}
|
||||
|
||||
_appOptions.HasJustLoggedInOrUnlocked = true;
|
||||
if (_appOptions != null)
|
||||
{
|
||||
_appOptions.HasJustLoggedInOrUnlocked = true;
|
||||
}
|
||||
var previousPage = await AppHelpers.ClearPreviousPage();
|
||||
App.MainPage = new TabsPage(_appOptions, previousPage);
|
||||
}
|
||||
|
@ -56,7 +56,10 @@ namespace Bit.App.Pages
|
||||
return;
|
||||
}
|
||||
|
||||
_appOptions.HasJustLoggedInOrUnlocked = true;
|
||||
if (_appOptions != null)
|
||||
{
|
||||
_appOptions.HasJustLoggedInOrUnlocked = true;
|
||||
}
|
||||
var previousPage = await AppHelpers.ClearPreviousPage();
|
||||
App.MainPage = new TabsPage(_appOptions, previousPage);
|
||||
}
|
||||
|
@ -72,7 +72,10 @@ namespace Bit.App.Pages
|
||||
return;
|
||||
}
|
||||
|
||||
_appOptions.HasJustLoggedInOrUnlocked = true;
|
||||
if (_appOptions != null)
|
||||
{
|
||||
_appOptions.HasJustLoggedInOrUnlocked = true;
|
||||
}
|
||||
var previousPage = await AppHelpers.ClearPreviousPage();
|
||||
App.MainPage = new TabsPage(_appOptions, previousPage);
|
||||
}
|
||||
|
@ -207,7 +207,10 @@ namespace Bit.App.Pages
|
||||
return;
|
||||
}
|
||||
|
||||
_appOptions.HasJustLoggedInOrUnlocked = true;
|
||||
if (_appOptions != null)
|
||||
{
|
||||
_appOptions.HasJustLoggedInOrUnlocked = true;
|
||||
}
|
||||
var previousPage = await AppHelpers.ClearPreviousPage();
|
||||
App.MainPage = new TabsPage(_appOptions, previousPage);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user