From c46482cdaaf883971736488750513663dd023076 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Wed, 17 Apr 2024 17:56:21 +0100 Subject: mobile: Add dark mode support --- apps/mobile/app.json | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) (limited to 'apps/mobile/app.json') diff --git a/apps/mobile/app.json b/apps/mobile/app.json index 592824b7..0cba2b94 100644 --- a/apps/mobile/app.json +++ b/apps/mobile/app.json @@ -6,16 +6,21 @@ "version": "1.3.2", "orientation": "portrait", "icon": "./assets/icon.png", - "userInterfaceStyle": "light", - "splash": { - "image": "./assets/splash.png", - "resizeMode": "contain", - "backgroundColor": "#ffffff" - }, + "userInterfaceStyle": "automatic", "assetBundlePatterns": ["**/*"], "ios": { "supportsTablet": true, "bundleIdentifier": "app.hoarder.hoardermobile", + "splash": { + "image": "./assets/splash.png", + "resizeMode": "contain", + "backgroundColor": "#ffffff", + "dark": { + "image": "./assets/splash-white.png", + "resizeMode": "contain", + "backgroundColor": "#000000" + } + }, "config": { "usesNonExemptEncryption": false }, @@ -31,6 +36,16 @@ "foregroundImage": "./assets/adaptive-icon.png", "backgroundColor": "#000000" }, + "splash": { + "image": "./assets/splash.png", + "resizeMode": "contain", + "backgroundColor": "#ffffff", + "dark": { + "image": "./assets/splash-white.png", + "resizeMode": "contain", + "backgroundColor": "#000000" + } + }, "package": "app.hoarder.hoardermobile", "versionCode": 2 }, -- cgit v1.2.3-70-g09d2