mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-28 00:20:50 +01:00
Preserve intent
This commit is contained in:
@@ -129,8 +129,11 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
||||
finish();
|
||||
startActivity(getIntent());
|
||||
} else if (!this.getClass().equals(ActivityMain.class) && Helper.shouldAuthenticate(this)) {
|
||||
Intent intent = getIntent();
|
||||
finish();
|
||||
startActivity(new Intent(this, ActivityMain.class));
|
||||
startActivity(
|
||||
new Intent(this, ActivityMain.class)
|
||||
.putExtra("intent", intent));
|
||||
}
|
||||
|
||||
super.onResume();
|
||||
|
||||
Reference in New Issue
Block a user