Colota - Android GPS Location tracker
chore: remove dead code, unused files, and reorganize project structure
Max Dietriche86ad135ce0c
diff --git a/App.tsx b/App.tsxindex a896f292..3ce8166e 100644--- a/App.tsx+++ b/App.tsx@@ -9,7 +9,7 @@ import { SafeAreaProvider } from "react-native-safe-area-context"import { StatusBar, Platform } from "react-native"import { ThemeProvider, useTheme } from "./src/hooks/useTheme"import { TrackingProvider } from "./src/contexts/TrackingProvider"-import ThemedErrorBoundary from "./src/components/ThemedErrorBoundary"+import ThemedErrorBoundary from "./src/components/ui/ThemedErrorBoundary"import {DashboardScreen,SettingsScreen,diff --git a/src/components/features/databases/DatabaseStatistics.tsx b/src/components/features/databases/DatabaseStatistics.tsxindex 2f541fa2..905ffa3e 100644--- a/src/components/features/databases/DatabaseStatistics.tsx+++ b/src/components/features/databases/DatabaseStatistics.tsx@@ -6,7 +6,7 @@ import React from "react"import { Text, StyleSheet, View } from "react-native"import { SectionTitle, Card } from "../.."import { useTheme } from "../../../hooks/useTheme"-import { getQueueColor } from "../../../helpers/queueStatus"+import { getQueueColor } from "../../../services/queueStatus"type DatabaseStatisticsProps = {stats: anydiff --git a/src/components/features/settings/StatsCard.tsx b/src/components/features/settings/StatsCard.tsxindex 35265b8e..99ec0b4d 100644--- a/src/components/features/settings/StatsCard.tsx+++ b/src/components/features/settings/StatsCard.tsx@@ -5,7 +5,7 @@import React from "react"import { View, Text, StyleSheet, TouchableOpacity } from "react-native"import { ThemeColors } from "../../../types/global"-import { getQueueColor } from "../../../helpers/queueStatus"+import { getQueueColor } from "../../../services/queueStatus"interface StatsCardProps {queueCount: numberdiff --git a/src/components/ErrorBoundary.tsx b/src/components/ui/ErrorBoundary.tsxsimilarity index 100%rename from src/components/ErrorBoundary.tsxrename to src/components/ui/ErrorBoundary.tsxdiff --git a/src/components/ThemedErrorBoundary.tsx b/src/components/ui/ThemedErrorBoundary.tsxsimilarity index 100%rename from src/components/ThemedErrorBoundary.tsxrename to src/components/ui/ThemedErrorBoundary.tsxdiff --git a/src/helpers/queueStatus.ts b/src/services/queueStatus.tssimilarity index 100%rename from src/helpers/queueStatus.tsrename to src/services/queueStatus.ts