fix scaling font in settings

This commit is contained in:
ammarahm-ed
2020-09-15 16:24:00 +05:00
parent 3604c0efaa
commit 43cee430ab

View File

@@ -683,8 +683,7 @@ export const Settings = ({route, navigation}) => {
<TouchableOpacity <TouchableOpacity
activeOpacity={1} activeOpacity={1}
onPress={async () => { onPress={async () => {
let scale = settings.fontScale; await setSetting(settings, 'fontScale', item.value);
await setSetting(settings, 'fontScale', scale);
eSendEvent(eResetApp); eSendEvent(eResetApp);
}} }}
key={item.title} key={item.title}