Skip to content

Commit

Permalink
[C-3707] Remove text-input font scale (#7280)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanjeffers authored Jan 23, 2024
1 parent f401fb3 commit 460c381
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/mobile/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import 'react-native-gesture-handler'
// JS runtime check, which we disable here.
import ViewReactNativeStyleAttributes from 'react-native/Libraries/Components/View/ReactNativeStyleAttributes'
ViewReactNativeStyleAttributes.scaleY = true
import { AppRegistry, LogBox, Text } from 'react-native'
import { AppRegistry, LogBox, Text, TextInput } from 'react-native'
import TrackPlayer from 'react-native-track-player'
import { Crypto } from '@peculiar/webcrypto'

Expand Down Expand Up @@ -36,5 +36,8 @@ LogBox.ignoreAllLogs()
Text.defaultProps = Text.defaultProps || {}
Text.defaultProps.allowFontScaling = false

TextInput.defaultProps = TextInput.defaultProps || {}
TextInput.defaultProps.allowFontScaling = false

AppRegistry.registerComponent(appName, () => App)
TrackPlayer.registerPlaybackService(() => require('./audio-service'))

0 comments on commit 460c381

Please sign in to comment.