remove legacy main activity

This commit is contained in:
Chloe committed 2026-01-31 01:04:00 -07:00
1 parent 3c43d8be22
commit 41a5f560a3
4 files changed
+2 -276

No files matched your search

@@ -134,15 +134,6 @@ class MainActivity : ComponentActivity() {
)
}
val redirectToAlt = PreferenceUtils.get(this).getBoolean(PreferenceUtils.Key.DISABLE_REDESIGN)
if (redirectToAlt && launchArguments == null) {
val launchIntent = Intent(this, LegacyMainActivity::class.java)
launchIntent.putExtras(intent)
startActivity(launchIntent)
return
}
setContent {
val themeOption by PreferenceUtils.useIntPreference(PreferenceUtils.Key.THEME)
val theme = Theme.fromInt(themeOption)