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
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;
|
||||
Reference in a new issue