From 089e5143ec5bd344ccd33f02f9005faca18fa1f9 Mon Sep 17 00:00:00 2001 From: FunkyMuse Date: Mon, 11 Sep 2023 15:23:03 +0200 Subject: [PATCH] fix: navigation bar colors --- .../commons/compose/extensions/ComposeExtensions.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/commons/src/main/kotlin/com/simplemobiletools/commons/compose/extensions/ComposeExtensions.kt b/commons/src/main/kotlin/com/simplemobiletools/commons/compose/extensions/ComposeExtensions.kt index 98d7b9d72..78a09eb59 100644 --- a/commons/src/main/kotlin/com/simplemobiletools/commons/compose/extensions/ComposeExtensions.kt +++ b/commons/src/main/kotlin/com/simplemobiletools/commons/compose/extensions/ComposeExtensions.kt @@ -3,7 +3,6 @@ package com.simplemobiletools.commons.compose.extensions import android.app.Activity import android.content.Context import android.content.ContextWrapper -import android.view.WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS import androidx.activity.ComponentActivity import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.foundation.layout.PaddingValues @@ -114,9 +113,6 @@ private fun Sequence.sumOfDps(): Dp { fun ComponentActivity.enableEdgeToEdgeSimple() { WindowCompat.setDecorFitsSystemWindows(window, false) - // Fix for three-button nav not properly going edge-to-edge. - // TODO https://issuetracker.google.com/issues/298296168 - window.setFlags(FLAG_LAYOUT_NO_LIMITS, FLAG_LAYOUT_NO_LIMITS) } @Composable