Something went wrong. Try again.
Bluesky app fork with some witchin' additions 💫 forked from jollywhoppers.com/witchsky.app
Something went wrong. Try again.
830 B · 27 lines
JavaScript
at twelve
12345678910111213141516171819202122232425262728// Based on https://github.com/expo/expo/pull/33957// Could be removed once the app has been updated to Expo 53const {withAndroidStyles} = require('@expo/config-plugins')
module.exports = function withAndroidDayNightThemePlugin(appConfig) { const cleanupList = new Set([ 'colorPrimary', 'android:editTextBackground', 'android:textColor', 'android:editTextStyle', ])
return withAndroidStyles(appConfig, config => { config.modResults.resources.style = config.modResults.resources.style ?.map(style => { if (style.$.name === 'AppTheme' && style.item != null) { style.item = style.item.filter(item => !cleanupList.has(item.$.name)) } return style }) .filter(style => { return style.$.name !== 'ResetEditText' })
return config })}