|
|
@ -3,6 +3,7 @@ import { Restart } from "fiction-expo-restart"; |
|
|
|
import { I18nManager, StatusBar, Dimensions } from "react-native"; |
|
|
|
import { I18nManager, StatusBar, Dimensions } from "react-native"; |
|
|
|
import * as Linking from "expo-linking"; |
|
|
|
import * as Linking from "expo-linking"; |
|
|
|
import Svg, { G, Path } from "react-native-svg"; |
|
|
|
import Svg, { G, Path } from "react-native-svg"; |
|
|
|
|
|
|
|
import {asyncAwesomeAlert} from "../src/utils/AsyncWrappers"; |
|
|
|
import { NavigationContainer } from "@react-navigation/native"; |
|
|
|
import { NavigationContainer } from "@react-navigation/native"; |
|
|
|
import { createNativeStackNavigator } from "@react-navigation/native-stack"; |
|
|
|
import { createNativeStackNavigator } from "@react-navigation/native-stack"; |
|
|
|
import { createBottomTabNavigator } from "@react-navigation/bottom-tabs"; |
|
|
|
import { createBottomTabNavigator } from "@react-navigation/bottom-tabs"; |
|
|
@ -610,6 +611,7 @@ const Navigation = ({ |
|
|
|
); |
|
|
|
); |
|
|
|
}, []); |
|
|
|
}, []); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Dimensions.addEventListener("change", () => { |
|
|
|
Dimensions.addEventListener("change", () => { |
|
|
|
const dim = Dimensions.get("window"); |
|
|
|
const dim = Dimensions.get("window"); |
|
|
|
setOrientation(dim.height > dim.width ? "portrait" : "landscape"); |
|
|
|
setOrientation(dim.height > dim.width ? "portrait" : "landscape"); |
|
|
|