1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-16 00:03:22 +00:00

PM-7855 Fix null check to _appOptions to avoid NRE detected on AppCenter (#3209)

This commit is contained in:
Federico Maccaroni
2024-05-02 20:07:52 -03:00
committed by GitHub
parent e4841bb322
commit 0b28b954fe
6 changed files with 24 additions and 6 deletions

View File

@@ -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);
}