mirror of
https://github.com/geode-sdk/android-launcher.git
synced 2026-10-21 16:32:39 +00:00
remove safe mode launch code
no sense having it in onLaunch parameters until i figure out how i want the ui to work
This commit is contained in:
1 file changed
+1
-7
@@ -390,13 +390,7 @@ fun UpdateCard(releaseViewModel: ReleaseViewModel, modifier: Modifier = Modifier
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fun onLaunch(context: Context, safeMode: Boolean = false) {
|
fun onLaunch(context: Context) {
|
||||||
if (safeMode) {
|
|
||||||
GeodeUtils.setAdditionalLaunchArguments(GeodeUtils.ARGUMENT_SAFE_MODE)
|
|
||||||
} else {
|
|
||||||
GeodeUtils.clearLaunchArguments()
|
|
||||||
}
|
|
||||||
|
|
||||||
val launchIntent = Intent(context, GeometryDashActivity::class.java)
|
val launchIntent = Intent(context, GeometryDashActivity::class.java)
|
||||||
launchIntent.flags = Intent.FLAG_ACTIVITY_CLEAR_TASK or Intent.FLAG_ACTIVITY_NEW_TASK
|
launchIntent.flags = Intent.FLAG_ACTIVITY_CLEAR_TASK or Intent.FLAG_ACTIVITY_NEW_TASK
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user