Commit 02d624cd by Denglingling

避免三指截屏报错

(cherry picked from commit 7e73885b)
parent 0b6a7ebb
Showing with 2 additions and 0 deletions
......@@ -15,6 +15,8 @@ const store = configureStore();
// 字体不随系统字体变化 首字母不大写
Text.defaultProps = Object.assign({}, Text.defaultProps, { allowFontScaling: false })
TextInput.defaultProps = Object.assign({}, TextInput.defaultProps, { allowFontScaling: false, autoCapitalize: 'none' })
// 避免 three fingers screenshots reporting errors
console.reportErrorsAsExceptions = false;
export default class App extends Component {
render() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment