Closed Angelk90 closed 2 years ago
Hi @ospfranco , as you can see from the image when it is in light mode, the logo is not visible.
I tried a similar thing, but when the theme change happens it doesn't update.
let hydrate = async () => { const storeState = await AsyncStorage.getItem('@ui.store') const colorScheme = Appearance.getColorScheme() console.log(colorScheme)// no update ... { iconImage: colorScheme === 'dark' ? Assets.SolWhiteSmall : Assets.SolBlackSmall, name: 'About', type: ItemType.CONFIGURATION, callback: () => { store.focusWidget(FocusableWidget.ABOUT) }, preventClose: true, }, }
ah, well, that will not work, hydrate only runs once and you cannot use hooks outside components, but this is somewhat minor, I'll take care of it another day
Hi @ospfranco , as you can see from the image when it is in light mode, the logo is not visible.
I tried a similar thing, but when the theme change happens it doesn't update.