π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
ensu: add ducky to coming soon and update accent color
Prateek Sunalfe2a66e50424
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeDialogs.kt b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeDialogs.ktindex 9968770ff3..cc3a42a422 100644--- a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeDialogs.kt+++ b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeDialogs.kt@@ -12,6 +12,7 @@ import androidx.compose.foundation.layout.paddingimport androidx.compose.foundation.rememberScrollStateimport androidx.compose.foundation.shape.RoundedCornerShapeimport androidx.compose.foundation.verticalScroll+import androidx.compose.foundation.Imageimport androidx.compose.material3.AlertDialogimport androidx.compose.material3.ButtonDefaultsimport androidx.compose.material3.Text@@ -19,6 +20,8 @@ import androidx.compose.material3.TextButtonimport androidx.compose.runtime.Composableimport androidx.compose.ui.Alignmentimport androidx.compose.ui.Modifier+import androidx.compose.ui.layout.ContentScale+import androidx.compose.ui.res.painterResourceimport androidx.compose.ui.unit.dpimport io.ente.ensu.designsystem.EnsuColorimport io.ente.ensu.designsystem.EnsuCornerRadius@@ -37,7 +40,19 @@ internal fun ComingSoonDialog(AlertDialog(onDismissRequest = onDismiss,title = {- Text(text = title, style = EnsuTypography.h3Bold)+ Column(+ modifier = Modifier.fillMaxWidth(),+ horizontalAlignment = Alignment.CenterHorizontally,+ verticalArrangement = Arrangement.spacedBy(EnsuSpacing.md.dp)+ ) {+ Image(+ painter = painterResource(id = R.drawable.ensu_ducky),+ contentDescription = null,+ modifier = Modifier.height(108.dp),+ contentScale = ContentScale.Fit+ )+ Text(text = title, style = EnsuTypography.h3Bold)+ }},text = {Text(text = message, style = EnsuTypography.body, color = EnsuColor.textMuted())diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/designsystem/EnsuTheme.kt b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/designsystem/EnsuTheme.ktindex 021be7f2f0..f9fcb06266 100644--- a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/designsystem/EnsuTheme.kt+++ b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/designsystem/EnsuTheme.kt@@ -31,8 +31,8 @@ object EnsuColor {val fillFaintLight = Color(0xFFF0EBE4)val fillFaintDark = Color(0xFF1E1E1E)- val accentLight = Color(0xFFF4D93B)- val accentDark = Color(0xFFF4D93B)+ val accentLight = Color(0xFFFDCE13)+ val accentDark = Color(0xFFFDCE13)val actionLight = textPrimaryLightval actionDark = accentDarkdiff --git a/mobile/native/android/apps/ensu/app-ui/src/main/res/drawable/ensu_ducky.png b/mobile/native/android/apps/ensu/app-ui/src/main/res/drawable/ensu_ducky.pngnew file mode 100644index 0000000000..bbc1725c0bBinary files /dev/null and b/mobile/native/android/apps/ensu/app-ui/src/main/res/drawable/ensu_ducky.png differdiff --git a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/EnsuDucky.imageset/Contents.json b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/EnsuDucky.imageset/Contents.jsonnew file mode 100644index 0000000000..c0ba557a40--- /dev/null+++ b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/EnsuDucky.imageset/Contents.json@@ -0,0 +1,13 @@+{+ "images" : [+ {+ "filename" : "ensu_ducky.png",+ "idiom" : "universal",+ "scale" : "1x"+ }+ ],+ "info" : {+ "author" : "xcode",+ "version" : 1+ }+}diff --git a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/EnsuDucky.imageset/ensu_ducky.png b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/EnsuDucky.imageset/ensu_ducky.pngnew file mode 100644index 0000000000..bbc1725c0bBinary files /dev/null and b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/EnsuDucky.imageset/ensu_ducky.png differdiff --git a/mobile/native/darwin/Apps/ensu/ensu/Chat/Components/ChatViewComponents.swift b/mobile/native/darwin/Apps/ensu/ensu/Chat/Components/ChatViewComponents.swiftindex 4fcff062fa..15101633a3 100644--- a/mobile/native/darwin/Apps/ensu/ensu/Chat/Components/ChatViewComponents.swift+++ b/mobile/native/darwin/Apps/ensu/ensu/Chat/Components/ChatViewComponents.swift@@ -89,6 +89,11 @@ struct SignInComingSoonDialog: View {.onTapGesture { onDismiss() }VStack(spacing: EnsuSpacing.lg) {+ Image("EnsuDucky")+ .resizable()+ .scaledToFit()+ .frame(height: 120)+Text(title).font(EnsuTypography.large).foregroundStyle(EnsuColor.textPrimary)diff --git a/mobile/native/darwin/Apps/ensu/ensu/DesignSystem/EnsuTheme.swift b/mobile/native/darwin/Apps/ensu/ensu/DesignSystem/EnsuTheme.swiftindex 51998690b1..6c0495bf79 100644--- a/mobile/native/darwin/Apps/ensu/ensu/DesignSystem/EnsuTheme.swift+++ b/mobile/native/darwin/Apps/ensu/ensu/DesignSystem/EnsuTheme.swift@@ -15,8 +15,8 @@ enum EnsuColor {static let textMuted = Color(PlatformColor.dynamic(light: "#8A8680", dark: "#777777"))static let border = Color(PlatformColor.dynamic(light: "#D4D0C8", dark: "#2A2A2A"))static let fillFaint = Color(PlatformColor.dynamic(light: "#F0EBE4", dark: "#1E1E1E"))- static let accent = Color(PlatformColor.dynamic(light: "#F4D93B", dark: "#F4D93B"))- static let action = Color(PlatformColor.dynamic(light: "#1A1A1A", dark: "#F4D93B"))+ static let accent = Color(PlatformColor.dynamic(light: "#FDCE13", dark: "#FDCE13"))+ static let action = Color(PlatformColor.dynamic(light: "#1A1A1A", dark: "#FDCE13"))static let userMessageText = Color(PlatformColor.dynamic(light: "#555555", dark: "#999999"))static let error = Color(hex: "#FF4444")