Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix QS tile icon and splash screen (transparent icon on purple background)

Prateek Sunal6c0cf3efe1fa
diff --git a/mobile/apps/auth/android/app/src/main/AndroidManifest.xml b/mobile/apps/auth/android/app/src/main/AndroidManifest.xml
index 245b366c41..97c39138bf 100644
--- a/mobile/apps/auth/android/app/src/main/AndroidManifest.xml
+++ b/mobile/apps/auth/android/app/src/main/AndroidManifest.xml
@@ -45,7 +45,7 @@
<service
android:name=".QuickTileService"
- android:icon="@mipmap/launcher_icon"
+ android:icon="@drawable/ic_qs_monochrome"
android:label="Ente Auth"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
android:exported="true"
diff --git a/mobile/apps/auth/android/app/src/main/res/drawable-hdpi/android12splash.png b/mobile/apps/auth/android/app/src/main/res/drawable-hdpi/android12splash.png
index f643789783..4789b97200 100644
Binary files a/mobile/apps/auth/android/app/src/main/res/drawable-hdpi/android12splash.png and b/mobile/apps/auth/android/app/src/main/res/drawable-hdpi/android12splash.png differ
diff --git a/mobile/apps/auth/android/app/src/main/res/drawable-hdpi/ic_qs_monochrome.png b/mobile/apps/auth/android/app/src/main/res/drawable-hdpi/ic_qs_monochrome.png
new file mode 100644
index 0000000000..68145f1498
Binary files /dev/null and b/mobile/apps/auth/android/app/src/main/res/drawable-hdpi/ic_qs_monochrome.png differ
diff --git a/mobile/apps/auth/android/app/src/main/res/drawable-hdpi/splash.png b/mobile/apps/auth/android/app/src/main/res/drawable-hdpi/splash.png
index f643789783..4789b97200 100644
Binary files a/mobile/apps/auth/android/app/src/main/res/drawable-hdpi/splash.png and b/mobile/apps/auth/android/app/src/main/res/drawable-hdpi/splash.png differ
diff --git a/mobile/apps/auth/android/app/src/main/res/drawable-mdpi/android12splash.png b/mobile/apps/auth/android/app/src/main/res/drawable-mdpi/android12splash.png
index 95f9d6e78a..036c77301f 100644
Binary files a/mobile/apps/auth/android/app/src/main/res/drawable-mdpi/android12splash.png and b/mobile/apps/auth/android/app/src/main/res/drawable-mdpi/android12splash.png differ
diff --git a/mobile/apps/auth/android/app/src/main/res/drawable-mdpi/ic_qs_monochrome.png b/mobile/apps/auth/android/app/src/main/res/drawable-mdpi/ic_qs_monochrome.png
new file mode 100644
index 0000000000..db7707c03a
Binary files /dev/null and b/mobile/apps/auth/android/app/src/main/res/drawable-mdpi/ic_qs_monochrome.png differ
diff --git a/mobile/apps/auth/android/app/src/main/res/drawable-mdpi/splash.png b/mobile/apps/auth/android/app/src/main/res/drawable-mdpi/splash.png
index 95f9d6e78a..036c77301f 100644
Binary files a/mobile/apps/auth/android/app/src/main/res/drawable-mdpi/splash.png and b/mobile/apps/auth/android/app/src/main/res/drawable-mdpi/splash.png differ
diff --git a/mobile/apps/auth/android/app/src/main/res/drawable-night-hdpi/android12splash.png b/mobile/apps/auth/android/app/src/main/res/drawable-night-hdpi/android12splash.png
index f643789783..4789b97200 100644
Binary files a/mobile/apps/auth/android/app/src/main/res/drawable-night-hdpi/android12splash.png and b/mobile/apps/auth/android/app/src/main/res/drawable-night-hdpi/android12splash.png differ
diff --git a/mobile/apps/auth/android/app/src/main/res/drawable-night-mdpi/android12splash.png b/mobile/apps/auth/android/app/src/main/res/drawable-night-mdpi/android12splash.png
index 95f9d6e78a..036c77301f 100644
Binary files a/mobile/apps/auth/android/app/src/main/res/drawable-night-mdpi/android12splash.png and b/mobile/apps/auth/android/app/src/main/res/drawable-night-mdpi/android12splash.png differ
diff --git a/mobile/apps/auth/android/app/src/main/res/drawable-night-xhdpi/android12splash.png b/mobile/apps/auth/android/app/src/main/res/drawable-night-xhdpi/android12splash.png
index 81b20fcad6..cf04fc414b 100644
Binary files a/mobile/apps/auth/android/app/src/main/res/drawable-night-xhdpi/android12splash.png and b/mobile/apps/auth/android/app/src/main/res/drawable-night-xhdpi/android12splash.png differ
diff --git a/mobile/apps/auth/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png b/mobile/apps/auth/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png
index ac065c7231..d3ee6fd33d 100644
Binary files a/mobile/apps/auth/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png and b/mobile/apps/auth/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png differ
diff --git a/mobile/apps/auth/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png b/mobile/apps/auth/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png
index f4b2430959..2a29363c67 100644
Binary files a/mobile/apps/auth/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png and b/mobile/apps/auth/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png differ
diff --git a/mobile/apps/auth/android/app/src/main/res/drawable-xhdpi/android12splash.png b/mobile/apps/auth/android/app/src/main/res/drawable-xhdpi/android12splash.png
index 81b20fcad6..cf04fc414b 100644
Binary files a/mobile/apps/auth/android/app/src/main/res/drawable-xhdpi/android12splash.png and b/mobile/apps/auth/android/app/src/main/res/drawable-xhdpi/android12splash.png differ
diff --git a/mobile/apps/auth/android/app/src/main/res/drawable-xhdpi/ic_qs_monochrome.png b/mobile/apps/auth/android/app/src/main/res/drawable-xhdpi/ic_qs_monochrome.png
new file mode 100644
index 0000000000..4b395b793b
Binary files /dev/null and b/mobile/apps/auth/android/app/src/main/res/drawable-xhdpi/ic_qs_monochrome.png differ
diff --git a/mobile/apps/auth/android/app/src/main/res/drawable-xhdpi/splash.png b/mobile/apps/auth/android/app/src/main/res/drawable-xhdpi/splash.png
index 81b20fcad6..cf04fc414b 100644
Binary files a/mobile/apps/auth/android/app/src/main/res/drawable-xhdpi/splash.png and b/mobile/apps/auth/android/app/src/main/res/drawable-xhdpi/splash.png differ
diff --git a/mobile/apps/auth/android/app/src/main/res/drawable-xxhdpi/android12splash.png b/mobile/apps/auth/android/app/src/main/res/drawable-xxhdpi/android12splash.png
index ac065c7231..d3ee6fd33d 100644
Binary files a/mobile/apps/auth/android/app/src/main/res/drawable-xxhdpi/android12splash.png and b/mobile/apps/auth/android/app/src/main/res/drawable-xxhdpi/android12splash.png differ
diff --git a/mobile/apps/auth/android/app/src/main/res/drawable-xxhdpi/ic_qs_monochrome.png b/mobile/apps/auth/android/app/src/main/res/drawable-xxhdpi/ic_qs_monochrome.png
new file mode 100644
index 0000000000..796efb7d30
Binary files /dev/null and b/mobile/apps/auth/android/app/src/main/res/drawable-xxhdpi/ic_qs_monochrome.png differ
diff --git a/mobile/apps/auth/android/app/src/main/res/drawable-xxhdpi/splash.png b/mobile/apps/auth/android/app/src/main/res/drawable-xxhdpi/splash.png
index ac065c7231..d3ee6fd33d 100644
Binary files a/mobile/apps/auth/android/app/src/main/res/drawable-xxhdpi/splash.png and b/mobile/apps/auth/android/app/src/main/res/drawable-xxhdpi/splash.png differ
diff --git a/mobile/apps/auth/android/app/src/main/res/drawable-xxxhdpi/android12splash.png b/mobile/apps/auth/android/app/src/main/res/drawable-xxxhdpi/android12splash.png
index f4b2430959..2a29363c67 100644
Binary files a/mobile/apps/auth/android/app/src/main/res/drawable-xxxhdpi/android12splash.png and b/mobile/apps/auth/android/app/src/main/res/drawable-xxxhdpi/android12splash.png differ
diff --git a/mobile/apps/auth/android/app/src/main/res/drawable-xxxhdpi/ic_qs_monochrome.png b/mobile/apps/auth/android/app/src/main/res/drawable-xxxhdpi/ic_qs_monochrome.png
new file mode 100644
index 0000000000..1b3b77bce5
Binary files /dev/null and b/mobile/apps/auth/android/app/src/main/res/drawable-xxxhdpi/ic_qs_monochrome.png differ
diff --git a/mobile/apps/auth/android/app/src/main/res/drawable-xxxhdpi/splash.png b/mobile/apps/auth/android/app/src/main/res/drawable-xxxhdpi/splash.png
index f4b2430959..2a29363c67 100644
Binary files a/mobile/apps/auth/android/app/src/main/res/drawable-xxxhdpi/splash.png and b/mobile/apps/auth/android/app/src/main/res/drawable-xxxhdpi/splash.png differ
diff --git a/mobile/apps/auth/android/app/src/main/res/drawable/ic_qs_monochrome.xml b/mobile/apps/auth/android/app/src/main/res/drawable/ic_qs_monochrome.xml
deleted file mode 100644
index 1060979a1e..0000000000
--- a/mobile/apps/auth/android/app/src/main/res/drawable/ic_qs_monochrome.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="23.892136dp" android:viewportHeight="443" android:viewportWidth="445" android:width="24dp">
-
- <path android:fillColor="#ffffff" android:pathData="M75,0C75.13,27.13 74.91,54.24 74.43,81.36 74.03,103.58 73.87,125.78 74,148L77,148C80.78,125.81 81.89,103.25 83.86,80.83 84.64,72.02 85.42,63.21 86.2,54.39 87.8,36.26 89.4,18.13 91,0 114.42,8.23 137.04,18.57 160,28 159.89,38.19 159.78,48.38 159.66,58.57 159.4,96.95 163.49,123.22 136.76,155.25 124.19,167.1 84.27,193.2 73.89,191.52 44.77,176.87 11.65,152.27 1,121 -1.19,109.29 3.38,41.25 6,22 23.05,16.33 40.08,10.64 57.11,4.91 63.02,3.04 68.87,1.17 75,0ZM358.42,288.55c-22.31,0.71 -44.64,0.63 -66.96,0.7 -35.9,0.19 -71.81,0.11 -107.71,0.36C161.91,287.93 162.4,313.46 201,329c85.04,31.22 128.65,-29.84 172,-20 33.05,12.62 59.9,66.54 -2,104 -37.71,23.12 -168.2,68.25 -271,-31 -71.25,-65.59 -59.73,-173.26 -56,-193 6.38,0.78 11.86,4.31 17.29,7.47 3.49,2.03 6.97,4.06 10.38,6.22C77.66,206.78 117.34,187.8 146,162 174.02,138.61 170.35,101.91 170.75,68.96 170.9,56.26 171.19,47.47 172,38 386.64,-54.82 556.88,282.51 358.42,288.55ZM167,182c1.34,3.55 2.48,4.69 5.74,6.61 6.62,2.68 14.04,1.76 21.05,1.79 10.33,0.04 0.13,-0.02 23.13,0 32.71,-0.03 65.43,-0 98.14,-0.03 3.53,-0.45 5.91,-1.54 8.94,-3.38 2.54,-3.82 2.79,-6.6 2,-11 -26.59,-72.58 -155.6,-51.22 -159,6z"/>
-
-</vector>
diff --git a/mobile/apps/auth/assets/generation-icons/splash-icon-ios-padded.png b/mobile/apps/auth/assets/generation-icons/splash-icon-ios-padded.png
index 428e86ae45..986d74cbc0 100644
Binary files a/mobile/apps/auth/assets/generation-icons/splash-icon-ios-padded.png and b/mobile/apps/auth/assets/generation-icons/splash-icon-ios-padded.png differ
diff --git a/mobile/apps/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/mobile/apps/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
index 95f9d6e78a..036c77301f 100644
Binary files a/mobile/apps/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png and b/mobile/apps/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png differ
diff --git a/mobile/apps/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/mobile/apps/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
index 81b20fcad6..cf04fc414b 100644
Binary files a/mobile/apps/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] and b/mobile/apps/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] differ
diff --git a/mobile/apps/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/mobile/apps/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
index ac065c7231..d3ee6fd33d 100644
Binary files a/mobile/apps/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] and b/mobile/apps/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] differ
diff --git a/mobile/apps/auth/ios/Runner/Base.lproj/LaunchScreen.storyboard b/mobile/apps/auth/ios/Runner/Base.lproj/LaunchScreen.storyboard
index 2882da6eb8..5a37630082 100644
--- a/mobile/apps/auth/ios/Runner/Base.lproj/LaunchScreen.storyboard
+++ b/mobile/apps/auth/ios/Runner/Base.lproj/LaunchScreen.storyboard
@@ -19,7 +19,7 @@
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" image="LaunchBackground" translatesAutoresizingMaskIntoConstraints="NO" id="tWc-Dq-wcI"/>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" image="LaunchImage" translatesAutoresizingMaskIntoConstraints="NO" id="YRO-k0-Ey4"></imageView>
</subviews>
- <color key="backgroundColor" red="0.654901961" green="0.360784314" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+ <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="YRO-k0-Ey4" firstAttribute="leading" secondItem="Ze5-6b-2t3" secondAttribute="leading" id="3T2-ad-Qdv"/>
<constraint firstItem="tWc-Dq-wcI" firstAttribute="bottom" secondItem="Ze5-6b-2t3" secondAttribute="bottom" id="RPx-PI-7Xg"/>