forked from
jollywhoppers.com/witchsky.app
fork
Configure Feed
Select the types of activity you want to include in your feed.
Bluesky app fork with some witchin' additions 馃挮
fork
Configure Feed
Select the types of activity you want to include in your feed.
1/**
2 * @file Set accent color to primaryColor from app.config.js.
3 * This way we get a sane default color for spinners, text inputs, etc.
4 */
5
6const {withAndroidStyles, AndroidConfig} = require('@expo/config-plugins')
7
8module.exports = function withAndroidStylesAccentColorPlugin(appConfig) {
9 return withAndroidStyles(appConfig, function (decoratedAppConfig) {
10 try {
11 decoratedAppConfig.modResults = AndroidConfig.Styles.assignStylesValue(
12 decoratedAppConfig.modResults,
13 {
14 add: true,
15 parent: AndroidConfig.Styles.getAppThemeGroup(),
16 name: 'colorAccent',
17 value: '@color/colorPrimary',
18 },
19 )
20 } catch (e) {
21 console.error(`withAndroidStylesAccentColorPlugin failed`, e)
22 }
23 return decoratedAppConfig
24 })
25}