disabled Font Scalling

This commit is contained in:
Blake Kaufman
2025-04-19 10:40:47 -04:00
parent c602be2ffa
commit e58f26da7f
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
import {Text, TextInput} from 'react-native';
Text.defaultProps = Text.defaultProps || {};
Text.defaultProps.allowFontScaling = false;
TextInput.defaultProps = TextInput.defaultProps || {};
TextInput.defaultProps.allowFontScaling = false;
+1
View File
@@ -5,5 +5,6 @@
import {AppRegistry} from 'react-native';
import App from './App';
import {name as appName} from './app.json';
import './disableFontScalling.js';
AppRegistry.registerComponent(appName, () => App);