It’s been 3 years already but I could mention some solutions:
Use React Context for holding fontSize, you can consume it everywhere. Remember to persist data on changes and load the data then set value to the context.
Use can use zustand and persist middleware to store the value throw middle ware, use AsyncStorage to store the value. It quite simple and I am using this one
any state management also works but you will need to think about it twice.
2
Answers
I don’t know about Telegram but you can set the size of your font to a state and change the state by taking user’s input value.
I hope that helps!
It’s been 3 years already but I could mention some solutions:
Use React Context for holding fontSize, you can consume it everywhere. Remember to persist data on changes and load the data then set value to the context.
Use can use zustand and persist middleware to store the value throw middle ware, use AsyncStorage to store the value. It quite simple and I am using this one
any state management also works but you will need to think about it twice.