Fix TrashActivity closing unexpectedly (for real this time)

This commit fixes an issue where the TrashActivity would close unexpectedly if the vault was not loaded. It adds TrashActivity to the list of activities that are allowed to run without a loaded vault, and it also adds logic to check if the vault is loaded and to start the AuthActivity if it's not.
pull/1699/head
google-labs-jules[bot] 2 months ago
parent 3298a24693
commit 1fa0bb970c

@ -244,6 +244,7 @@ public abstract class AegisActivity extends AppCompatActivity implements VaultMa
return !(this instanceof MainActivity)
&& !(this instanceof AuthActivity)
&& !(this instanceof IntroActivity)
&& !(this instanceof TrashActivity)
&& !_vaultManager.isVaultLoaded();
}

Loading…
Cancel
Save