forked from geode-sdk/android-launcher
safe mode button was also broken lol
This commit is contained in:
1 file changed
+1
-1
@@ -497,7 +497,7 @@ fun GameplaySettingsGroup() {
|
|||||||
SafeModeDialog(onDismiss = {
|
SafeModeDialog(onDismiss = {
|
||||||
showSafeModeDialog = false
|
showSafeModeDialog = false
|
||||||
}) {
|
}) {
|
||||||
val launchIntent = Intent(context, MainActivity::class.java).apply {
|
val launchIntent = context.packageManager.getLaunchIntentForPackage(context.packageName)!!.apply {
|
||||||
// hardcode it, why not
|
// hardcode it, why not
|
||||||
action = Intent.ACTION_VIEW
|
action = Intent.ACTION_VIEW
|
||||||
data = "geode-launcher://main/launch?safe-mode=true".toUri()
|
data = "geode-launcher://main/launch?safe-mode=true".toUri()
|
||||||
|
|||||||
Reference in new issue
Block a user