01-18-2018 21:57
01-18-2018 21:57
What kind of code should I write to dynamically change the setting text?
For example, when STRAVA OAuth authentication is completed.
<Section> <Text bold>Authorization state: <Text settingsKey="authorized">Authorized</Text></Text> <Text bold>Account: <Text settingsKey="account">N/A</Text></Text> </Section>
Thank you.
Answered! Go to the Best Answer.
01-19-2018 04:00
01-19-2018 04:00
I solved it myself!
Thank you.
How to
<Text bold>Authorized: <Text>{ props.settingsStorage.getItem("auth") }</Text></Text> <Text bold>Account: <Text>{ props.settingsStorage.getItem("account") } </Text></Text>
01-19-2018 04:00
01-19-2018 04:00
I solved it myself!
Thank you.
How to
<Text bold>Authorized: <Text>{ props.settingsStorage.getItem("auth") }</Text></Text> <Text bold>Account: <Text>{ props.settingsStorage.getItem("account") } </Text></Text>