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:
parent
7205c2ad1e
commit
cddc766a34
@ -40,7 +40,7 @@ export default function DashboardScreen() {
|
|||||||
return (
|
return (
|
||||||
<SafeAreaView style={styles.container} edges={['top']}>
|
<SafeAreaView style={styles.container} edges={['top']}>
|
||||||
<View style={styles.header}>
|
<View style={styles.header}>
|
||||||
<Text style={styles.headerTitle}>Dashboard</Text>
|
<Text style={styles.headerTitle}> </Text>
|
||||||
</View>
|
</View>
|
||||||
<FullScreenError message={error} onRetry={handleRefresh} />
|
<FullScreenError message={error} onRetry={handleRefresh} />
|
||||||
</SafeAreaView>
|
</SafeAreaView>
|
||||||
@ -57,7 +57,7 @@ export default function DashboardScreen() {
|
|||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
)}
|
)}
|
||||||
<Text style={[styles.headerTitle, canGoBack && styles.headerTitleWithBack]}>
|
<Text style={[styles.headerTitle, canGoBack && styles.headerTitleWithBack]}>
|
||||||
Dashboard
|
{/* Empty title - WebView has its own dashboard header */}
|
||||||
</Text>
|
</Text>
|
||||||
<TouchableOpacity style={styles.refreshButton} onPress={handleRefresh}>
|
<TouchableOpacity style={styles.refreshButton} onPress={handleRefresh}>
|
||||||
<Ionicons name="refresh" size={22} color={AppColors.primary} />
|
<Ionicons name="refresh" size={22} color={AppColors.primary} />
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user