Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Change Text on Settings

ANSWERED
Replies are disabled for this topic. Start a new one or visit our Help Center.

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.

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

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>

 

View best answer in original post

Best Answer
0 Votes
1 REPLY 1

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>

 

Best Answer
0 Votes