diff --git a/app/src/main/java/com/geode/launcher/preferences/SettingsActivity.kt b/app/src/main/java/com/geode/launcher/preferences/SettingsActivity.kt index b384a5e7..c9f59d4d 100644 --- a/app/src/main/java/com/geode/launcher/preferences/SettingsActivity.kt +++ b/app/src/main/java/com/geode/launcher/preferences/SettingsActivity.kt @@ -497,7 +497,7 @@ fun GameplaySettingsGroup() { SafeModeDialog(onDismiss = { showSafeModeDialog = false }) { - val launchIntent = Intent(context, MainActivity::class.java).apply { + val launchIntent = context.packageManager.getLaunchIntentForPackage(context.packageName)!!.apply { // hardcode it, why not action = Intent.ACTION_VIEW data = "geode-launcher://main/launch?safe-mode=true".toUri()