mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 14:41:08 +00:00
Fixed accepting EULA in some cases
This commit is contained in:
parent
4feca5bc65
commit
3c000ffd1a
1 changed files with 2 additions and 3 deletions
|
@ -464,9 +464,8 @@ public class ActivityMain extends ActivityBase implements FragmentManager.OnBack
|
|||
if ("eula".equals(key)) {
|
||||
boolean eula = prefs.getBoolean(key, false);
|
||||
if (eula) {
|
||||
// recreate is done without animation
|
||||
finish();
|
||||
startActivity(getIntent());
|
||||
// recreate is done without animation, unfortunately
|
||||
recreate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue