Fix 3-button navigation

This commit is contained in:
tarsin committed 2022-12-31 12:27:47 +08:00
1 parent f3bf8849e9
commit 021eb5f828
2 files changed
+10 -5

No files matched your search

@@ -55,6 +55,7 @@ abstract class EhActivity : AppCompatActivity() {
layoutInflater.factory2 = LayoutInflaterFactory(delegate).addOnViewCreatedListener(WindowInsetsHelper.LISTENER)
super.onCreate(savedInstanceState)
WindowCompat.getInsetsController(window, window.decorView).isAppearanceLightStatusBars = !isNightMode()
WindowCompat.getInsetsController(window, window.decorView).isAppearanceLightNavigationBars = !isNightMode()
(application as EhApplication).registerActivity(this)
}