d2259e6c0e05

fix: Restore entry back stack and browser watermark font (v2.2.11)

time
2026-06-11 16:32 UTC · 5 months ago
machine
koh2
parent
b911798b9024
7 files app/build.gradle+2 −2app/src/main/java/com/peachpasswords/ui/PeachAppNavHost.kt+5 −1app/src/main/java/com/peachpasswords/ui/vault/EntryDetailScreen.kt+2 −1app/src/main/res/drawable/ic_launcher_background.xml+1 −1app/src/main/res/drawable/ic_launcher_foreground.xml+30 −14app/src/main/res/drawable/ic_launcher_monochrome.xml+30 −4app/src/main/res/drawable/ic_peach_mark.xml+15 −0
app/build.gradle+2 −2
@@ -16,8 +16,8 @@1616         applicationId "com.peachpasswords"1717         minSdk 261818         targetSdk 3519-        versionCode 20290020-        versionName "2.2.9"19+        versionCode 20310020+        versionName "2.2.11"2121 2222         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"2323         vectorDrawables {

view file

app/src/main/java/com/peachpasswords/ui/PeachAppNavHost.kt+5 −1
@@ -103,8 +103,12 @@103103         composable(PeachNav.Lock.route) {104104             LockScreen(105105                 onUnlocked = { dest ->106-                    navController.navigate(dest.route) {106+                    navController.navigate(PeachNav.VaultList.route) {107107                         popUpTo(PeachNav.Lock.route) { inclusive = true }108+                        launchSingleTop = true109+                    }110+                    if (dest.route != PeachNav.VaultList.route) {111+                        navController.navigate(dest.route)108112                     }109113                 },110114                 onNavigate = nav,

view file

app/src/main/java/com/peachpasswords/ui/vault/EntryDetailScreen.kt+2 −1
@@ -55,6 +55,7 @@5555 import androidx.compose.ui.graphics.graphicsLayer5656 import androidx.compose.ui.platform.LocalContext5757 import androidx.compose.ui.text.TextStyle58+import androidx.compose.ui.text.font.FontStyle5859 import androidx.compose.ui.text.style.TextOverflow5960 import androidx.compose.ui.unit.dp6061 import androidx.compose.ui.unit.em@@ -188,7 +189,7 @@188189                 Box(Modifier.fillMaxWidth().clipToBounds()) {189190                     Text(190191                         text = ghostWatermarkText(e.title),191-                        style = TextStyle(fontFamily = PeachType.Script, fontSize = 140.sp),192+                        style = TextStyle(fontFamily = PeachType.Display, fontSize = 150.sp, fontStyle = FontStyle.Italic),192193                         color = peachColors.T0.copy(alpha = 0.03f),193194                         maxLines = 1,194195                         softWrap = false,

view file

app/src/main/res/drawable/ic_launcher_background.xml+1 −1
@@ -1,4 +1,4 @@11 <?xml version="1.0" encoding="utf-8"?>22 <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">3-    <solid android:color="#DA6931" />3+    <solid android:color="#FFF4E9D2" />44 </shape>

view file

app/src/main/res/drawable/ic_launcher_foreground.xml+30 −14
@@ -1,15 +1,31 @@11 <?xml version="1.0" encoding="utf-8"?>2-<layer-list xmlns:android="http://schemas.android.com/apk/res/android">3-    <item>4-        <shape android:shape="oval">5-            <size android:width="140dp" android:height="140dp" />6-            <solid android:color="#F49C70" />7-        </shape>8-    </item>9-    <item android:left="78dp" android:top="36dp">10-        <shape android:shape="oval">11-            <size android:width="30dp" android:height="60dp" />12-            <solid android:color="#B5D870" />13-        </shape>14-    </item>15-</layer-list>2+<vector xmlns:android="http://schemas.android.com/apk/res/android"3+    android:width="108dp"4+    android:height="108dp"5+    android:viewportWidth="240"6+    android:viewportHeight="240">7+    <path8+        android:pathData="M124 64 C134 32 168 16 200 22 C198 56 168 72 130 66 Z"9+        android:fillColor="#92AC65" />10+    <path11+        android:pathData="M130 64 C152 46 178 30 196 24"12+        android:strokeColor="#5E7A42"13+        android:strokeWidth="2.6"14+        android:fillColor="@android:color/transparent"15+        android:strokeLineCap="round" />16+    <path17+        android:pathData="M120 60 C75 45 28 75 22 130 C18 185 65 222 125 222 C185 222 222 185 220 130 C218 78 170 45 120 60 Z"18+        android:fillColor="#FFB082" />19+    <path20+        android:pathData="M120 60 C75 45 28 75 22 130 C18 185 65 222 125 222 C105 195 75 150 100 90 C105 75 112 65 120 60 Z"21+        android:fillColor="#E5805C" />22+    <group23+        android:pivotX="178"24+        android:pivotY="108"25+        android:rotation="-26">26+        <path27+            android:pathData="M198 108 A20 11 0 1 0 158 108 A20 11 0 1 0 198 108 Z"28+            android:fillColor="#FFD0A8"29+            android:fillAlpha="0.7" />30+    </group>31+</vector>

view file

app/src/main/res/drawable/ic_launcher_monochrome.xml+30 −4
@@ -1,5 +1,31 @@11 <?xml version="1.0" encoding="utf-8"?>2-<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval">3-    <size android:width="140dp" android:height="140dp" />4-    <solid android:color="#FFFFFF" />5-</shape>2+<vector xmlns:android="http://schemas.android.com/apk/res/android"3+    android:width="108dp"4+    android:height="108dp"5+    android:viewportWidth="240"6+    android:viewportHeight="240">7+    <path8+        android:pathData="M124 64 C134 32 168 16 200 22 C198 56 168 72 130 66 Z"9+        android:fillColor="#000000" />10+    <path11+        android:pathData="M130 64 C152 46 178 30 196 24"12+        android:strokeColor="#000000"13+        android:strokeWidth="2.6"14+        android:fillColor="@android:color/transparent"15+        android:strokeLineCap="round" />16+    <path17+        android:pathData="M120 60 C75 45 28 75 22 130 C18 185 65 222 125 222 C185 222 222 185 220 130 C218 78 170 45 120 60 Z"18+        android:fillColor="#000000" />19+    <path20+        android:pathData="M120 60 C75 45 28 75 22 130 C18 185 65 222 125 222 C105 195 75 150 100 90 C105 75 112 65 120 60 Z"21+        android:fillColor="#000000" />22+    <group23+        android:pivotX="178"24+        android:pivotY="108"25+        android:rotation="-26">26+        <path27+            android:pathData="M198 108 A20 11 0 1 0 158 108 A20 11 0 1 0 198 108 Z"28+            android:fillColor="#000000"29+            android:fillAlpha="0.7" />30+    </group>31+</vector>

view file

app/src/main/res/drawable/ic_peach_mark.xml+15 −0
@@ -7,9 +7,24 @@77         android:pathData="M124 64 C134 32 168 16 200 22 C198 56 168 72 130 66 Z"88         android:fillColor="#92AC65" />99     <path10+        android:pathData="M130 64 C152 46 178 30 196 24"11+        android:strokeColor="#5E7A42"12+        android:strokeWidth="2.6"13+        android:fillColor="@android:color/transparent"14+        android:strokeLineCap="round" />15+    <path1016         android:pathData="M120 60 C75 45 28 75 22 130 C18 185 65 222 125 222 C185 222 222 185 220 130 C218 78 170 45 120 60 Z"1117         android:fillColor="#FFB082" />1218     <path1319         android:pathData="M120 60 C75 45 28 75 22 130 C18 185 65 222 125 222 C105 195 75 150 100 90 C105 75 112 65 120 60 Z"1420         android:fillColor="#E5805C" />21+    <group22+        android:pivotX="178"23+        android:pivotY="108"24+        android:rotation="-26">25+        <path26+            android:pathData="M198 108 A20 11 0 1 0 158 108 A20 11 0 1 0 198 108 Z"27+            android:fillColor="#FFD0A8"28+            android:fillAlpha="0.7" />29+    </group>1530 </vector>

view file