clear more tickets
This commit is contained in:
@@ -6,7 +6,7 @@ import * as SplashScreen from "expo-splash-screen";
|
||||
import { StatusBar } from "expo-status-bar";
|
||||
import moment from "moment";
|
||||
import "moment/locale/fr";
|
||||
import { Platform } from "react-native";
|
||||
import { Platform, Text, TextInput } from "react-native";
|
||||
import { GestureHandlerRootView } from "react-native-gesture-handler";
|
||||
import React, {
|
||||
setGlobal,
|
||||
@@ -45,6 +45,18 @@ console.reportErrorsAsExceptions = false;
|
||||
|
||||
moment.locale("fr");
|
||||
|
||||
// Keep typography stable regardless of the user's system font scaling on mobile
|
||||
if (Platform.OS !== "web") {
|
||||
if (Text.defaultProps == null) {
|
||||
Text.defaultProps = {};
|
||||
}
|
||||
if (TextInput.defaultProps == null) {
|
||||
TextInput.defaultProps = {};
|
||||
}
|
||||
Text.defaultProps.allowFontScaling = false;
|
||||
TextInput.defaultProps.allowFontScaling = false;
|
||||
}
|
||||
|
||||
setGlobal(initialGlobalState);
|
||||
|
||||
SplashScreen.preventAutoHideAsync();
|
||||
|
||||
Reference in New Issue
Block a user