Avoid auth redirection when activity restarted and enableAccountHandling is false

This commit is contained in:
A117870935 2023-07-20 01:44:17 +05:30 committed by Andy Scherzinger
parent 007b69af5a
commit 9e007e9a34
1 changed files with 3 additions and 1 deletions

View File

@ -109,7 +109,9 @@ public abstract class BaseActivity extends AppCompatActivity implements Injectab
protected void onRestart() {
Log_OC.v(TAG, "onRestart() start");
super.onRestart();
mixinRegistry.onRestart();
if (enableAccountHandling) {
mixinRegistry.onRestart();
}
}
private void onThemeSettingsModeChanged() {