Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

ensu: show ducky in android coming-soon dialog

Prateek Sunalf6375262290c
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.kt
index cc3a42a422..6cb6a2bc20 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
@@ -39,20 +39,16 @@ internal fun ComingSoonDialog(
) {
AlertDialog(
onDismissRequest = onDismiss,
+ icon = {
+ Image(
+ painter = painterResource(id = R.drawable.ensu_ducky),
+ contentDescription = null,
+ modifier = Modifier.height(108.dp),
+ contentScale = ContentScale.Fit
+ )
+ },
title = {
- 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 = 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/res/values/colors.xml b/mobile/native/android/apps/ensu/app-ui/src/main/res/values/colors.xml
index 45f39022fb..9260d6e6ff 100644
--- a/mobile/native/android/apps/ensu/app-ui/src/main/res/values/colors.xml
+++ b/mobile/native/android/apps/ensu/app-ui/src/main/res/values/colors.xml
@@ -1,3 +1,3 @@
<resources>
- <color name="ic_launcher_background">#FFEEDD</color>
+ <color name="ic_launcher_background">#FDCE13</color>
</resources>
diff --git a/mobile/native/android/apps/ensu/docs/appicon.md b/mobile/native/android/apps/ensu/docs/appicon.md
index 664e5982fc..7a094cb0cb 100644
--- a/mobile/native/android/apps/ensu/docs/appicon.md
+++ b/mobile/native/android/apps/ensu/docs/appicon.md
@@ -5,7 +5,7 @@ The foreground must be padded so it fits inside circular/squircle masks without
## Sources
- **Foreground artwork**: provided by design (transparent PNG, 1024Γ—1024).
-- **Background color**: currently `#FFEEDD` (see `res/values/colors.xml`).
+- **Background color**: currently `#FDCE13` (see `res/values/colors.xml`).
## Steps
@@ -28,7 +28,7 @@ The foreground must be padded so it fits inside circular/squircle masks without
3. **Set the adaptive background color**
- Update `res/values/colors.xml`:
```xml
- <color name="ic_launcher_background">#FFEEDD</color>
+ <color name="ic_launcher_background">#FDCE13</color>
```
- Adaptive icon XMLs already reference this color:
- `res/mipmap-anydpi-v26/ic_launcher.xml`
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AccentColor.colorset/Contents.json b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AccentColor.colorset/Contents.json
index eb87897008..a417ab37e9 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AccentColor.colorset/Contents.json
+++ b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AccentColor.colorset/Contents.json
@@ -1,6 +1,15 @@
{
"colors" : [
{
+ "color" : {
+ "color-space" : "srgb",
+ "components" : {
+ "alpha" : "1.000",
+ "blue" : "0.074510",
+ "green" : "0.807843",
+ "red" : "0.992157"
+ }
+ },
"idiom" : "universal"
}
],