Skip to content

Commit 0de077e

Browse files
committed
safe mode button was also broken lol
1 parent 655587e commit 0de077e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/com/geode/launcher/preferences/SettingsActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ fun GameplaySettingsGroup() {
497497
SafeModeDialog(onDismiss = {
498498
showSafeModeDialog = false
499499
}) {
500-
val launchIntent = Intent(context, MainActivity::class.java).apply {
500+
val launchIntent = context.packageManager.getLaunchIntentForPackage(context.packageName)!!.apply {
501501
// hardcode it, why not
502502
action = Intent.ACTION_VIEW
503503
data = "geode-launcher://main/launch?safe-mode=true".toUri()

0 commit comments

Comments
 (0)