fix newly introduce issue on PasswordActivity: Preloading was not started correctly, causing potential crash when trying to work offline

This commit is contained in:
Philipp Crocoll 2017-01-31 11:11:45 +01:00
parent e96fc44cf3
commit f7019c7cec
1 changed files with 1 additions and 1 deletions

View File

@ -1787,7 +1787,7 @@ namespace keepass2android
{
// OnResume is run every time the activity comes to the foreground. This code should only run when the activity is started (OnStart), but must
// be run in OnResume rather than OnStart so that it always occurrs after OnActivityResult (when re-creating a killed activity, OnStart occurs before OnActivityResult)
if (!_starting)
if (_starting)
{
_starting = false;