Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix(auth): don't package splash with app

Prateek Sunal7a643712aced
diff --git a/auth/assets/splash-bg.png b/auth/assets/splash/splash-bg.png
similarity index 100%
rename from auth/assets/splash-bg.png
rename to auth/assets/splash/splash-bg.png
diff --git a/auth/assets/splash-fg.png b/auth/assets/splash/splash-fg.png
similarity index 100%
rename from auth/assets/splash-fg.png
rename to auth/assets/splash/splash-fg.png
diff --git a/auth/assets/splash-icon-fg.png b/auth/assets/splash/splash-icon-fg.png
similarity index 100%
rename from auth/assets/splash-icon-fg.png
rename to auth/assets/splash/splash-icon-fg.png
diff --git a/auth/pubspec.yaml b/auth/pubspec.yaml
index a5808b42c5..02a6826e57 100644
--- a/auth/pubspec.yaml
+++ b/auth/pubspec.yaml
@@ -153,8 +153,8 @@ flutter_icons:
remove_alpha_ios: true
flutter_native_splash:
- background_image: assets/splash-bg.png
- image: assets/splash-icon-fg.png
+ background_image: assets/splash/splash-bg.png
+ image: assets/splash/splash-icon-fg.png
android_gravity: center
ios_content_mode: center
android_12:
@@ -165,7 +165,7 @@ 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-fg.png
+ image: assets/splash/splash-fg.png
# Splash screen background color.
color: "#F1D6FF"