Compare commits

...

3 Commits

Author SHA1 Message Date
M66B
9b6a0adb5f 1.2148 release 2024-01-08 07:46:38 +01:00
M66B
8ef2dfe77b Fixed unified/primary folders navigation 2024-01-08 07:42:04 +01:00
M66B
3c000ffd1a Fixed accepting EULA in some cases 2024-01-08 07:40:29 +01:00
3 changed files with 4 additions and 11 deletions

View File

@@ -3,7 +3,7 @@ apply plugin: 'com.bugsnag.android.gradle'
apply plugin: 'kotlin-android'
apply plugin: 'de.undercouch.download'
def getVersionCode = { -> return 2147 }
def getVersionCode = { -> return 2148 }
def getRevision = { -> return "a" }
def getReleaseName = { -> return "Wintonotitan" }
// https://en.wikipedia.org/wiki/List_of_dinosaur_genera

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

View File

@@ -774,8 +774,6 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
private void init() {
Bundle args = new Bundle();
long account = getIntent().getLongExtra("account", -1);
FragmentBase fragment;
switch (startup) {
case "accounts":
@@ -784,15 +782,11 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
break;
case "folders":
fragment = new FragmentFolders();
args.putLong("account", account);
args.putBoolean("unified", true);
break;
case "primary":
fragment = new FragmentFolders();
if (account < 0)
args.putBoolean("primary", true);
else
args.putLong("account", account);
args.putBoolean("primary", true);
break;
default:
fragment = new FragmentMessages();