Bluesky app fork with some witchin' additions 💫

Fix splash config (#2452)

* Don't use mask for android at all

* Handle reduced motion

* Add dark splash

* Add dark config

* Try more config

* Duplicate config

* Ensure splash config is applied

authored by

Eric Bailey and committed by
GitHub
c1e8abfb cb9ed35c

+16 -13
+16 -13
app.config.js
··· 1 1 const pkg = require('./package.json') 2 2 3 + const SPLASH_CONFIG = { 4 + backgroundColor: '#ffffff', 5 + image: './assets/splash.png', 6 + resizeMode: 'cover', 7 + } 8 + const DARK_SPLASH_CONFIG = { 9 + backgroundColor: '#001429', 10 + image: './assets/splash-dark.png', 11 + resizeMode: 'cover', 12 + } 13 + 3 14 module.exports = function () { 4 15 /** 5 16 * App version number. Should be incremented as part of a release cycle. ··· 42 53 orientation: 'portrait', 43 54 icon: './assets/icon.png', 44 55 userInterfaceStyle: 'automatic', 45 - splash: { 46 - image: './assets/splash.png', 47 - resizeMode: 'cover', 48 - backgroundColor: '#ffffff', 49 - }, 56 + splash: SPLASH_CONFIG, 50 57 ios: { 51 58 buildNumber: IOS_BUILD_NUMBER, 52 59 supportsTablet: false, ··· 67 74 }, 68 75 associatedDomains: ['applinks:bsky.app', 'applinks:staging.bsky.app'], 69 76 splash: { 70 - dark: { 71 - image: './assets/splash-dark.png', 72 - backgroundColor: '#001429', 73 - }, 77 + ...SPLASH_CONFIG, 78 + dark: DARK_SPLASH_CONFIG, 74 79 }, 75 80 }, 76 81 androidStatusBar: { ··· 102 107 }, 103 108 ], 104 109 splash: { 105 - dark: { 106 - image: './assets/splash-dark.png', 107 - backgroundColor: '#001429', 108 - }, 110 + ...SPLASH_CONFIG, 111 + dark: DARK_SPLASH_CONFIG, 109 112 }, 110 113 }, 111 114 web: {