Skip to content

Commit

Permalink
new splash screen with dark mode support
Browse files Browse the repository at this point in the history
  • Loading branch information
dylmye committed Dec 2, 2024
1 parent 3697a98 commit 9a51cd6
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 7 deletions.
28 changes: 21 additions & 7 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@
"orientation": "portrait",
"userInterfaceStyle": "automatic",
"newArchEnabled": true,
"backgroundColor": "#000000",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"backgroundColor": "#1c1b1f",
"assetBundlePatterns": [
"**/*"
],
Expand All @@ -25,8 +20,16 @@
],
"ios": {
"supportsTablet": true,
"icon": "./assets/icon-ios-1024.png",
"icon": {
"light": "./assets/icon-ios-1024.png",
"dark": "./assets/icon-ios-dark-1024.png",
"tinted": "./assets/icon-ios-tint-1024.png"
},
"appStoreUrl": "https://apps.apple.com/us/app/setlist-sherlock/id6477339282",
"bundleIdentifier": "com.dylmye.setlists",
"config": {
"usesNonExemptEncryption": false
},
"infoPlist": {
"NSAppleMusicUsageDescription": "Allow Setlist Sherlock to access your Apple Music data to save setlists as playlists",
"NSPhotoLibraryUsageDescription": "Setlist Sherlock does not require access to the photo library"
Expand Down Expand Up @@ -99,6 +102,17 @@
{
"languages": ["en-GB", "fr-FR"]
}
],
[
"expo-splash-screen",
{
"backgroundColor": "#ffffff",
"image": "./assets/splash-light.png",
"dark": {
"backgroundColor": "#1c1b1f",
"image": "./assets/splash-dark.png"
}
}
]
]
}
Expand Down
Binary file added assets/icon-ios-dark-1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon-ios-tint-1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/splash-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/splash-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/splash.png
Binary file not shown.
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"expo-network": "~7.0.2",
"expo-router": "~4.0.9",
"expo-secure-store": "~14.0.0",
"expo-splash-screen": "~0.29.13",
"expo-status-bar": "~2.0.0",
"expo-system-ui": "~4.0.4",
"expo-web-browser": "~14.0.1",
Expand Down

0 comments on commit 9a51cd6

Please sign in to comment.