π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix(auth): update splash screen
Prateek Sunal4040525a4ca6
diff --git a/auth/android/app/src/main/res/drawable-hdpi/splash.png b/auth/android/app/src/main/res/drawable-hdpi/splash.pngindex 9bb1e2aeec..a257c36f07 100644Binary files a/auth/android/app/src/main/res/drawable-hdpi/splash.png and b/auth/android/app/src/main/res/drawable-hdpi/splash.png differdiff --git a/auth/android/app/src/main/res/drawable-mdpi/splash.png b/auth/android/app/src/main/res/drawable-mdpi/splash.pngindex 2d83d16291..97a79069fb 100644Binary files a/auth/android/app/src/main/res/drawable-mdpi/splash.png and b/auth/android/app/src/main/res/drawable-mdpi/splash.png differdiff --git a/auth/android/app/src/main/res/drawable-night-hdpi/android12splash.png b/auth/android/app/src/main/res/drawable-night-hdpi/android12splash.pngindex 494139b926..43d836b9bd 100644Binary files a/auth/android/app/src/main/res/drawable-night-hdpi/android12splash.png and b/auth/android/app/src/main/res/drawable-night-hdpi/android12splash.png differdiff --git a/auth/android/app/src/main/res/drawable-night-hdpi/splash.png b/auth/android/app/src/main/res/drawable-night-hdpi/splash.pngnew file mode 100644index 0000000000..9bb1e2aeecBinary files /dev/null and b/auth/android/app/src/main/res/drawable-night-hdpi/splash.png differdiff --git a/auth/android/app/src/main/res/drawable-night-mdpi/android12splash.png b/auth/android/app/src/main/res/drawable-night-mdpi/android12splash.pngindex f9048fefbd..63dc1e4cd7 100644Binary files a/auth/android/app/src/main/res/drawable-night-mdpi/android12splash.png and b/auth/android/app/src/main/res/drawable-night-mdpi/android12splash.png differdiff --git a/auth/android/app/src/main/res/drawable-night-mdpi/splash.png b/auth/android/app/src/main/res/drawable-night-mdpi/splash.pngnew file mode 100644index 0000000000..2d83d16291Binary files /dev/null and b/auth/android/app/src/main/res/drawable-night-mdpi/splash.png differdiff --git a/auth/android/app/src/main/res/drawable-night-v21/background.png b/auth/android/app/src/main/res/drawable-night-v21/background.pngnew file mode 100644index 0000000000..71e9c817e8Binary files /dev/null and b/auth/android/app/src/main/res/drawable-night-v21/background.png differdiff --git a/auth/android/app/src/main/res/drawable-night-xhdpi/android12splash.png b/auth/android/app/src/main/res/drawable-night-xhdpi/android12splash.pngindex 0ea61e2fe1..517cfc7e75 100644Binary files a/auth/android/app/src/main/res/drawable-night-xhdpi/android12splash.png and b/auth/android/app/src/main/res/drawable-night-xhdpi/android12splash.png differdiff --git a/auth/android/app/src/main/res/drawable-night-xhdpi/splash.png b/auth/android/app/src/main/res/drawable-night-xhdpi/splash.pngnew file mode 100644index 0000000000..e7caec0b3bBinary files /dev/null and b/auth/android/app/src/main/res/drawable-night-xhdpi/splash.png differdiff --git a/auth/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png b/auth/android/app/src/main/res/drawable-night-xxhdpi/android12splash.pngindex 666c9c7a84..587eca970c 100644Binary files a/auth/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png and b/auth/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png differdiff --git a/auth/android/app/src/main/res/drawable-night-xxhdpi/splash.png b/auth/android/app/src/main/res/drawable-night-xxhdpi/splash.pngnew file mode 100644index 0000000000..ad77a8b1fdBinary files /dev/null and b/auth/android/app/src/main/res/drawable-night-xxhdpi/splash.png differdiff --git a/auth/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png b/auth/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.pngindex 6da9d045fa..dedb623d33 100644Binary files a/auth/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png and b/auth/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png differdiff --git a/auth/android/app/src/main/res/drawable-night-xxxhdpi/splash.png b/auth/android/app/src/main/res/drawable-night-xxxhdpi/splash.pngnew file mode 100644index 0000000000..9bf76a941dBinary files /dev/null and b/auth/android/app/src/main/res/drawable-night-xxxhdpi/splash.png differdiff --git a/auth/android/app/src/main/res/drawable-night/background.png b/auth/android/app/src/main/res/drawable-night/background.pngnew file mode 100644index 0000000000..71e9c817e8Binary files /dev/null and b/auth/android/app/src/main/res/drawable-night/background.png differdiff --git a/auth/android/app/src/main/res/drawable-v21/background.png b/auth/android/app/src/main/res/drawable-v21/background.pngindex 370fb3c793..3107d37fa5 100644Binary files a/auth/android/app/src/main/res/drawable-v21/background.png and b/auth/android/app/src/main/res/drawable-v21/background.png differdiff --git a/auth/android/app/src/main/res/drawable-xhdpi/splash.png b/auth/android/app/src/main/res/drawable-xhdpi/splash.pngindex e7caec0b3b..2f39c95d5c 100644Binary files a/auth/android/app/src/main/res/drawable-xhdpi/splash.png and b/auth/android/app/src/main/res/drawable-xhdpi/splash.png differdiff --git a/auth/android/app/src/main/res/drawable-xxhdpi/splash.png b/auth/android/app/src/main/res/drawable-xxhdpi/splash.pngindex ad77a8b1fd..a5ea320a95 100644Binary files a/auth/android/app/src/main/res/drawable-xxhdpi/splash.png and b/auth/android/app/src/main/res/drawable-xxhdpi/splash.png differdiff --git a/auth/android/app/src/main/res/drawable-xxxhdpi/splash.png b/auth/android/app/src/main/res/drawable-xxxhdpi/splash.pngindex 9bf76a941d..3e7ef4620b 100644Binary files a/auth/android/app/src/main/res/drawable-xxxhdpi/splash.png and b/auth/android/app/src/main/res/drawable-xxxhdpi/splash.png differdiff --git a/auth/android/app/src/main/res/drawable/background.png b/auth/android/app/src/main/res/drawable/background.pngindex 370fb3c793..3107d37fa5 100644Binary files a/auth/android/app/src/main/res/drawable/background.png and b/auth/android/app/src/main/res/drawable/background.png differdiff --git a/auth/android/app/src/main/res/values-night-v31/styles.xml b/auth/android/app/src/main/res/values-night-v31/styles.xmlindex d840be93ac..c4a573dfe2 100644--- a/auth/android/app/src/main/res/values-night-v31/styles.xml+++ b/auth/android/app/src/main/res/values-night-v31/styles.xml@@ -6,7 +6,7 @@<item name="android:windowFullscreen">false</item><item name="android:windowDrawsSystemBarBackgrounds">false</item><item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>- <item name="android:windowSplashScreenBackground">#12001B</item>+ <item name="android:windowSplashScreenBackground">#000000</item><item name="android:windowSplashScreenAnimatedIcon">@drawable/android12splash</item></style><!-- Theme applied to the Android Window as soon as the process has started.diff --git a/auth/android/app/src/main/res/values-v31/styles.xml b/auth/android/app/src/main/res/values-v31/styles.xmlindex 2b3ccb4733..dbdf6f9053 100644--- a/auth/android/app/src/main/res/values-v31/styles.xml+++ b/auth/android/app/src/main/res/values-v31/styles.xml@@ -6,7 +6,7 @@<item name="android:windowFullscreen">false</item><item name="android:windowDrawsSystemBarBackgrounds">false</item><item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>- <item name="android:windowSplashScreenBackground">#F1D6FF</item>+ <item name="android:windowSplashScreenBackground">#FFFFFF</item><item name="android:windowSplashScreenAnimatedIcon">@drawable/android12splash</item></style><!-- Theme applied to the Android Window as soon as the process has started.diff --git a/auth/assets/splash/splash-bg.png b/auth/assets/splash/splash-bg.pngdeleted file mode 100644index 370fb3c793..0000000000Binary files a/auth/assets/splash/splash-bg.png and /dev/null differdiff --git a/auth/assets/splash/splash-icon-fg-light.png b/auth/assets/splash/splash-icon-fg-light.pngnew file mode 100644index 0000000000..801839c211Binary files /dev/null and b/auth/assets/splash/splash-icon-fg-light.png differdiff --git a/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json b/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.jsonindex 9f447e1b38..8bb185b107 100644--- a/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json+++ b/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json@@ -2,16 +2,17 @@"images" : [{"filename" : "background.png",- "idiom" : "universal",- "scale" : "1x"+ "idiom" : "universal"},{- "idiom" : "universal",- "scale" : "2x"- },- {- "idiom" : "universal",- "scale" : "3x"+ "appearances" : [+ {+ "appearance" : "luminosity",+ "value" : "dark"+ }+ ],+ "filename" : "darkbackground.png",+ "idiom" : "universal"}],"info" : {diff --git a/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png b/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.pngindex 370fb3c793..3107d37fa5 100644Binary files a/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png and b/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png differdiff --git a/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/darkbackground.png b/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/darkbackground.pngnew file mode 100644index 0000000000..71e9c817e8Binary files /dev/null and b/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/darkbackground.png differdiff --git a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.jsonindex 00cabce836..f3387d4ae7 100644--- a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json+++ b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json@@ -5,15 +5,48 @@"idiom" : "universal","scale" : "1x"},+ {+ "appearances" : [+ {+ "appearance" : "luminosity",+ "value" : "dark"+ }+ ],+ "filename" : "LaunchImageDark.png",+ "idiom" : "universal",+ "scale" : "1x"+ },{"filename" : "[email protected]","idiom" : "universal","scale" : "2x"},+ {+ "appearances" : [+ {+ "appearance" : "luminosity",+ "value" : "dark"+ }+ ],+ "filename" : "[email protected]",+ "idiom" : "universal",+ "scale" : "2x"+ },{"filename" : "[email protected]","idiom" : "universal","scale" : "3x"+ },+ {+ "appearances" : [+ {+ "appearance" : "luminosity",+ "value" : "dark"+ }+ ],+ "filename" : "[email protected]",+ "idiom" : "universal",+ "scale" : "3x"}],"info" : {diff --git a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.pngindex 2d83d16291..97a79069fb 100644Binary files a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png and b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png differdiff --git a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]index e7caec0b3b..2f39c95d5c 100644Binary files a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] and b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] differdiff --git a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]index ad77a8b1fd..a5ea320a95 100644Binary files a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] and b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] differdiff --git a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark.png b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark.pngnew file mode 100644index 0000000000..2d83d16291Binary files /dev/null and b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark.png differdiff --git a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]new file mode 100644index 0000000000..e7caec0b3bBinary files /dev/null and b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] differdiff --git a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]new file mode 100644index 0000000000..ad77a8b1fdBinary files /dev/null and b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] differdiff --git a/auth/pubspec.yaml b/auth/pubspec.yamlindex 02a6826e57..b924da0470 100644--- a/auth/pubspec.yaml+++ b/auth/pubspec.yaml@@ -153,8 +153,10 @@ flutter_icons:remove_alpha_ios: trueflutter_native_splash:- background_image: assets/splash/splash-bg.png- image: assets/splash/splash-icon-fg.png+ color: "#FFFFFF"+ color_dark: "#000000"+ image: "assets/splash/splash-icon-fg-light.png"+ image_dark: "assets/splash/splash-icon-fg.png"android_gravity: centerios_content_mode: centerandroid_12:@@ -165,10 +167,10 @@ flutter_native_splash:# 640 pixels in diameter.# App icon without an icon background: This should be 1152Γ1152 pixels, and fit within a circle# 768 pixels in diameter.- image: assets/splash/splash-fg.png+ image: "assets/splash/splash-fg.png"# Splash screen background color.- color: "#F1D6FF"+ color: "#FFFFFF"# App icon background color.#icon_background_color: "#111111"@@ -179,6 +181,6 @@ flutter_native_splash:# The image_dark, color_dark, icon_background_color_dark, and branding_dark set values that# apply when the device is in dark mode. If they are not specified, the app will use the# parameters from above.- #image_dark: assets/android12splash-invert.png- color_dark: "#12001B"+ image_dark: "assets/generation-icons/icon-light.png"+ color_dark: "#000000"#icon_background_color_dark: "#eeeeee"diff --git a/auth/web/index.html b/auth/web/index.htmlindex faceb4e9ba..c2c5f5d5dc 100644--- a/auth/web/index.html+++ b/auth/web/index.html@@ -32,6 +32,8 @@<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">++<style id="splash-screen-style">html {height: 100%@@ -40,9 +42,8 @@body {margin: 0;min-height: 100%;- background-color: #ffffff;- background-image: url("splash/img/light-background.png");- background-size: 100% 100%;+ background-color: #FFFFFF;+ background-size: 100% 100%;}.center {@@ -90,6 +91,12 @@bottom: 0;right: 0;}++ @media (prefers-color-scheme: dark) {+ body {+ background-color: #000000;+ }+ }</style><script id="splash-screen-script">function removeSplashFromWeb() {@@ -107,6 +114,7 @@<img class="center" aria-hidden="true" src="splash/img/light-1x.png" alt=""></picture>+<!-- This script installs service_worker.js to provide PWA functionality toapplication. For more information, see:https://developers.google.com/web/fundamentals/primers/service-workers -->diff --git a/auth/web/splash/img/light-1x.png b/auth/web/splash/img/light-1x.pngindex 2d83d16291..97a79069fb 100644Binary files a/auth/web/splash/img/light-1x.png and b/auth/web/splash/img/light-1x.png differdiff --git a/auth/web/splash/img/light-2x.png b/auth/web/splash/img/light-2x.pngindex e7caec0b3b..2f39c95d5c 100644Binary files a/auth/web/splash/img/light-2x.png and b/auth/web/splash/img/light-2x.png differdiff --git a/auth/web/splash/img/light-3x.png b/auth/web/splash/img/light-3x.pngindex ad77a8b1fd..a5ea320a95 100644Binary files a/auth/web/splash/img/light-3x.png and b/auth/web/splash/img/light-3x.png differdiff --git a/auth/web/splash/img/light-4x.png b/auth/web/splash/img/light-4x.pngindex 9bf76a941d..3e7ef4620b 100644Binary files a/auth/web/splash/img/light-4x.png and b/auth/web/splash/img/light-4x.png differdiff --git a/auth/web/splash/img/light-background.png b/auth/web/splash/img/light-background.pngdeleted file mode 100644index 370fb3c793..0000000000Binary files a/auth/web/splash/img/light-background.png and /dev/null differ