Fixed accepting EULA in some cases

This commit is contained in:
M66B 2024-01-08 07:40:29 +01:00
parent 4feca5bc65
commit 3c000ffd1a
1 changed files with 2 additions and 3 deletions

View File

@ -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();
}
}
}