clear more tickets

This commit is contained in:
Thomas Demirdjian
2025-11-20 17:44:09 +01:00
parent 70c94c97b4
commit 83ced20dcf
24 changed files with 506 additions and 378 deletions
+13 -1
View File
@@ -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();