Resolve "datenbank schmiert ab wenn schnell 20~ einträge eingetragen werden"

This commit is contained in:
Thomas Schleicher 2023-12-13 10:35:53 +00:00 committed by jastornig
parent 32de9bf1f1
commit 417204b4c1
13 changed files with 124 additions and 89 deletions

View file

@ -1,10 +1,10 @@
import { Tabs } from "expo-router/tabs";
import {StyleSheet, View, Text} from "react-native"
import { StyleSheet } from "react-native";
import { FontAwesome } from "@expo/vector-icons";
import {useThemeColor} from "../../hooks/hooks";
import React, { useEffect } from "react";
import { Redirect } from "expo-router";
import React, { useEffect } from "react";
import { useThemeColor } from "../../hooks/useThemeColor";
import { useAuth } from "../contexts/AuthContext";
export default function Layout() {
@ -53,6 +53,7 @@ export default function Layout() {
tabBarLabel: "Home",
tabBarIcon: ({size, color}) => (
<FontAwesome name="home" size={size} color={color}/>),
unmountOnBlur: true
}
}/>
<Tabs.Screen name="stats/index" options={