Resolve "datenbank schmiert ab wenn schnell 20~ einträge eingetragen werden"
This commit is contained in:
parent
32de9bf1f1
commit
417204b4c1
13 changed files with 124 additions and 89 deletions
|
|
@ -1,8 +1,7 @@
|
|||
import { View, Text, StyleSheet, Platform } from 'react-native'
|
||||
import React from 'react'
|
||||
import { Platform, StyleSheet, View } from 'react-native'
|
||||
import { ViewProps } from 'react-native/Libraries/Components/View/ViewPropTypes'
|
||||
import { useThemeColor } from '../../../hooks/hooks'
|
||||
import { SHADOWS } from '../../../constants/theme'
|
||||
import { useThemeColor } from '../../../hooks/useThemeColor'
|
||||
|
||||
function generateBoxShadowStyle(
|
||||
xOffset: number,
|
||||
|
|
|
|||
23
components/common/loadingSymbol/loadingSymbol.tsx
Normal file
23
components/common/loadingSymbol/loadingSymbol.tsx
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { StyleSheet, View } from "react-native";
|
||||
|
||||
const LoadingSymbol = () => {
|
||||
|
||||
const color = ["blue", "red", "purple", "green", "yellow", "orange"];
|
||||
const random = Math.floor(Math.random() * color.length);
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
backgroundColor: color[random],
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
position: "absolute",
|
||||
}
|
||||
});
|
||||
|
||||
return (
|
||||
<View style={styles.container}></View>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
export default LoadingSymbol;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
import { AntDesign } from '@expo/vector-icons'
|
||||
import React from 'react'
|
||||
import { StyleSheet, TouchableOpacity, ViewProps } from 'react-native'
|
||||
import { useThemeColor } from '../../../hooks/hooks'
|
||||
import { useThemeColor } from '../../../hooks/useThemeColor'
|
||||
|
||||
type PlusProps = ViewProps & {onPress? : ()=> void | undefined}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import { View, Text, ViewProps, StyleSheet, Button, TouchableOpacity, TextInput } from 'react-native'
|
||||
import React from 'react'
|
||||
import { AntDesign } from '@expo/vector-icons';
|
||||
import { useThemeColor } from '../../../hooks/hooks';
|
||||
import React from 'react';
|
||||
import { StyleSheet, TextInput, TouchableOpacity, View, ViewProps } from 'react-native';
|
||||
import { SIZES } from '../../../constants/theme';
|
||||
import { useThemeColor } from '../../../hooks/useThemeColor';
|
||||
|
||||
type SearchBarProps = {placeholder: string} & ViewProps
|
||||
|
||||
|
|
|
|||
Reference in a new issue