From 539cf694dc02cdd16b4f203794669ba58b08f8e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Fri, 6 Oct 2023 11:49:06 +0200 Subject: [PATCH] Add edge to edge to `MainActivity` --- .../simplemobiletools/flashlight/activities/MainActivity.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/flashlight/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/flashlight/activities/MainActivity.kt index d9df67e..d24e525 100644 --- a/app/src/main/kotlin/com/simplemobiletools/flashlight/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/flashlight/activities/MainActivity.kt @@ -28,10 +28,7 @@ import androidx.lifecycle.viewModelScope import com.google.android.material.math.MathUtils import com.simplemobiletools.commons.compose.alert_dialog.AlertDialogState import com.simplemobiletools.commons.compose.alert_dialog.rememberAlertDialogState -import com.simplemobiletools.commons.compose.extensions.CheckAppOnSdCard -import com.simplemobiletools.commons.compose.extensions.appLaunchedCompose -import com.simplemobiletools.commons.compose.extensions.onEventValue -import com.simplemobiletools.commons.compose.extensions.rateStarsRedirectAndThankYou +import com.simplemobiletools.commons.compose.extensions.* import com.simplemobiletools.commons.compose.theme.AppThemeSurface import com.simplemobiletools.commons.dialogs.* import com.simplemobiletools.commons.extensions.* @@ -63,6 +60,7 @@ class MainActivity : ComponentActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) + enableEdgeToEdgeSimple() setContent { AppThemeSurface { val showMoreApps = onEventValue { !resources.getBoolean(R.bool.hide_google_relations) }