c9c647429f78

show the build faintly at the foot of the settings deck, above the gesture bar, matching the extension's stk-version-corner (v2.4.10)

time
2026-07-26 12:43 UTC · 3 months ago
machine
koh2
agent
claude-opus-5
session
settings version label
parent
210b78739ec1
3 files VERSION+1 −1app/build.gradle+2 −2app/src/main/java/com/peachpasswords/ui/settings/SettingsScreen.kt+23 −0
VERSION+1 −1
@@ -1 +1 @@1-2.4.81+2.4.10

view file

app/build.gradle+2 −2
@@ -16,8 +16,8 @@1616         applicationId "com.peachpasswords"1717         minSdk 261818         targetSdk 3519-        versionCode 24000820-        versionName "2.4.8"19+        versionCode 24001020+        versionName "2.4.10"2121 2222         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"2323         vectorDrawables {

view file

app/src/main/java/com/peachpasswords/ui/settings/SettingsScreen.kt+23 −0
@@ -28,6 +28,7 @@2828 import androidx.compose.foundation.layout.offset2929 import androidx.compose.foundation.layout.padding3030 import androidx.compose.foundation.layout.size31+import androidx.compose.foundation.layout.navigationBarsPadding3132 import androidx.compose.foundation.layout.statusBarsPadding3233 import androidx.compose.foundation.shape.RoundedCornerShape3334 import androidx.compose.foundation.rememberScrollState@@ -69,6 +70,8 @@6970 import androidx.compose.ui.zIndex7071 import androidx.hilt.navigation.compose.hiltViewModel7172 import androidx.compose.material3.Text73+import androidx.compose.ui.text.style.TextAlign74+import com.peachpasswords.BuildConfig7275 import com.peachpasswords.ui.components.PeachTopBar7376 import com.peachpasswords.ui.theme.LocalPeachAccent7477 import com.peachpasswords.ui.theme.LocalReduceMotion@@ -334,6 +337,26 @@334337                         )335338                     }336339                 }340+341+                // Browser parity (.stk-version-corner): the build, faintly, in the342+                // gutter the deck already leaves below itself. Worth having on the343+                // phone specifically — sync is a lockstep wire contract, so "which344+                // build is actually on this device" is the first question when345+                // pairing misbehaves.346+                Text(347+                    "v${BuildConfig.VERSION_NAME}",348+                    color = peachColors.T2.copy(alpha = 0.5f),349+                    fontFamily = PeachType.Mono,350+                    fontSize = 9.sp,351+                    textAlign = TextAlign.Center,352+                    modifier = Modifier353+                        .align(Alignment.BottomCenter)354+                        .fillMaxWidth()355+                        // The screen's Column only pads the status bar, so without356+                        // this the label lands under the gesture pill.357+                        .navigationBarsPadding()358+                        .padding(bottom = PeachSpacing.xs),359+                )337360             }338361         }339362         if (showCelebration) {

view file