Suppress changelog in revisions

This commit is contained in:
M66B 2024-05-29 13:47:21 +02:00
parent 194d09436b
commit 95a53bb481
1 changed files with 4 additions and 2 deletions

View File

@ -868,8 +868,10 @@ public class ApplicationEx extends Application
editor.putBoolean("delete_unseen", false); editor.putBoolean("delete_unseen", false);
if (Helper.isPixelBeta()) if (Helper.isPixelBeta())
editor.putBoolean("motd", true); editor.putBoolean("motd", true);
} else if (version < 2191) } else if (version < 2191) {
editor.remove("show_changelog"); if ("a".equals(BuildConfig.REVISION))
editor.remove("show_changelog");
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG) if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)
editor.remove("background_service"); editor.remove("background_service");