Remove 'Dashboard' text from header

User requested to remove duplicate 'Dashboard' text from header
since the WebView already displays its own dashboard header.
This commit is contained in:
Sergei 2026-01-12 11:56:41 -08:00
parent 7205c2ad1e
commit cddc766a34

View File

@ -40,7 +40,7 @@ export default function DashboardScreen() {
return (
<SafeAreaView style={styles.container} edges={['top']}>
<View style={styles.header}>
<Text style={styles.headerTitle}>Dashboard</Text>
<Text style={styles.headerTitle}> </Text>
</View>
<FullScreenError message={error} onRetry={handleRefresh} />
</SafeAreaView>
@ -57,7 +57,7 @@ export default function DashboardScreen() {
</TouchableOpacity>
)}
<Text style={[styles.headerTitle, canGoBack && styles.headerTitleWithBack]}>
Dashboard
{/* Empty title - WebView has its own dashboard header */}
</Text>
<TouchableOpacity style={styles.refreshButton} onPress={handleRefresh}>
<Ionicons name="refresh" size={22} color={AppColors.primary} />