6d5c1ac0357f

status/nav bar: navigationBarColor set to #0C0A06 in MainActivity; safe-area + keyboard wiring already in place (verified)

time
2026-05-01 04:20 UTC · 5 months ago
machine
koh2
parent
5b013329da52
1 file android/app/src/main/java/com/peachpasswords/app/MainActivity.kt+6 −0
android/app/src/main/java/com/peachpasswords/app/MainActivity.kt+6 −0
@@ -1,6 +1,7 @@11 package com.peachpasswords.app22 33 import android.content.Intent4+import android.graphics.Color45 import android.os.Bundle56 import com.getcapacitor.BridgeActivity67 @@ -14,6 +15,11 @@1415         registerPlugin(FoldPlugin::class.java)1516         super.onCreate(savedInstanceState)1617         VaultBridge.init(this)18+        // Match the gesture-nav bar to the dark theme bg. Updated dynamically19+        // from JS via StatusBar plugin pattern would be ideal, but the nav bar20+        // doesn't have a Capacitor plugin — set once at boot to the dark bg.21+        // Light theme switch is rare enough to leave as a follow-up.22+        window.navigationBarColor = Color.parseColor("#0C0A06")1723     }1824 1925     /**

view file