forked from geode-sdk/android-launcher
remove legacy main activity
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user