From aeebf02fd8d32ba4a7d9a82ad4172bfa102c128d Mon Sep 17 00:00:00 2001
From: Aayush Kumar <157108425+AayushKumar880@users.noreply.github.com>
Date: Wed, 1 Jan 2025 16:05:00 +0530
Subject: [PATCH] feature (#1)
* fix: background color of splash screen
doesn't change with theme (#2466)
Changed splash background color with theme and fix the splash icon size
* fix: background color of splash screen
doesn't change with theme (#2466)
Changed splash background color with theme and fix the splash icon size
---
androidApp/src/main/res/drawable/splash_icon.xml | 6 +++---
androidApp/src/main/res/values-night/colors.xml | 14 ++++++++++++++
androidApp/src/main/res/values/colors.xml | 9 +++++++--
androidApp/src/main/res/values/splash.xml | 2 +-
4 files changed, 25 insertions(+), 6 deletions(-)
create mode 100644 androidApp/src/main/res/values-night/colors.xml
diff --git a/androidApp/src/main/res/drawable/splash_icon.xml b/androidApp/src/main/res/drawable/splash_icon.xml
index fb9902e0e..4fae8ef8e 100644
--- a/androidApp/src/main/res/drawable/splash_icon.xml
+++ b/androidApp/src/main/res/drawable/splash_icon.xml
@@ -10,12 +10,12 @@
-->
-
-
+
\ No newline at end of file
diff --git a/androidApp/src/main/res/values-night/colors.xml b/androidApp/src/main/res/values-night/colors.xml
new file mode 100644
index 000000000..3a3ca4047
--- /dev/null
+++ b/androidApp/src/main/res/values-night/colors.xml
@@ -0,0 +1,14 @@
+
+
+
+ @color/splash_background_dark
+ #FF1A1A1A
+
\ No newline at end of file
diff --git a/androidApp/src/main/res/values/colors.xml b/androidApp/src/main/res/values/colors.xml
index 94394e4c5..f8f910127 100644
--- a/androidApp/src/main/res/values/colors.xml
+++ b/androidApp/src/main/res/values/colors.xml
@@ -1,5 +1,4 @@
-
-
+
+ //fix : splash background
+ @color/splash_background_light
+ #FFFDFDF5
+ #FF1A1A1A
+
#ffffffff
#000000
#eaeaea
diff --git a/androidApp/src/main/res/values/splash.xml b/androidApp/src/main/res/values/splash.xml
index 9ee17867e..126ea5515 100644
--- a/androidApp/src/main/res/values/splash.xml
+++ b/androidApp/src/main/res/values/splash.xml
@@ -10,7 +10,7 @@
-->