File tree Expand file tree Collapse file tree
app/src/main/java/org/cssnr/remotewallpaper Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import android.content.ComponentName
55import android.content.Intent
66import android.content.res.Configuration
77import android.graphics.Color
8+ import android.os.Build
89import android.os.Bundle
910import android.util.Log
1011import android.view.Menu
@@ -158,9 +159,9 @@ class MainActivity : AppCompatActivity() {
158159
159160 // // Update Navigation Bar - NOTE: this is now handled by enableEdgeToEdge()
160161 // window.navigationBarColor = Color.TRANSPARENT
161- // if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
162- // window.setNavigationBarContrastEnforced(false)
163- // }
162+ if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .Q ) {
163+ window.setNavigationBarContrastEnforced(false )
164+ }
164165
165166 // Set Global Left/Right System Insets
166167 ViewCompat .setOnApplyWindowInsetsListener(binding.contentMain.contentMainLayout) { v, insets ->
You can’t perform that action at this time.
0 commit comments