Skip to content

Commit

Permalink
refactor: Only have a dark mode splash (#2115)
Browse files Browse the repository at this point in the history
  • Loading branch information
NigelBreslaw authored Jul 22, 2024
1 parent f1e9885 commit dfc66b9
Show file tree
Hide file tree
Showing 19 changed files with 6 additions and 80 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions native/android/app/src/main/res/values-night/colors.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
<resources>
<color name="splashscreen_background">#17101F</color>
</resources>
<resources/>
4 changes: 2 additions & 2 deletions native/android/app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<resources>
<color name="splashscreen_background">#F2F5FC</color>
<color name="splashscreen_background">#17101F</color>
<color name="iconBackground">#FFFFFF</color>
<color name="colorPrimary">#023c69</color>
<color name="colorPrimaryDark">#F2F5FC</color>
<color name="colorPrimaryDark">#17101F</color>
<color name="activityBackground">#17101F</color>
</resources>
16 changes: 3 additions & 13 deletions native/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,9 @@
"usesNonExemptEncryption": false
},
"splash": {
"image": "./assets/images/splash.png",
"resizeMode": "contain",
"backgroundColor": "#F2F5FC",
"dark": {
"image": "./assets/images/splash_dark.png",
"image": "./assets/images/splash_dark.png",
"resizeMode": "contain",
"backgroundColor": "#17101F"
}
},
"supportsTablet": false
},
Expand All @@ -34,14 +29,9 @@
"package": "com.guardianghost",
"backgroundColor": "#17101F",
"splash": {
"image": "./assets/images/splash.png",
"image": "./assets/images/splash_dark.png",
"resizeMode": "native",
"backgroundColor": "#F2F5FC",
"dark": {
"image": "./assets/images/splash_dark.png",
"resizeMode": "native",
"backgroundColor": "#17101F"
}
"backgroundColor": "#17101F"
},
"intentFilters": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,6 @@
{
"idiom": "universal",
"scale": "3x"
},
{
"idiom": "universal",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
],
"filename": "dark_image.png",
"scale": "1x"
},
{
"idiom": "universal",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
],
"scale": "2x"
},
{
"idiom": "universal",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
],
"scale": "3x"
}
],
"info": {
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,6 @@
{
"idiom": "universal",
"scale": "3x"
},
{
"idiom": "universal",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
],
"filename": "dark_image.png",
"scale": "1x"
},
{
"idiom": "universal",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
],
"scale": "2x"
},
{
"idiom": "universal",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
],
"scale": "3x"
}
],
"info": {
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dfc66b9

Please sign in to comment.