chenging ui design where needed

This commit is contained in:
Jaanu423
2025-11-27 13:38:38 +05:30
parent e03a695734
commit b6d40f7255
4 changed files with 50 additions and 32 deletions
+4 -4
View File
@@ -212,10 +212,10 @@ const Notification = () => {
{/* Header with actions */}
<Header
title={`Notifications ${unreadCount > 0 ? `(${unreadCount})` : ''}`} arrowColor='#000' titleColor='#000'/>
<View style={styles.headerActions}>
{/* <View style={styles.headerActions}>
{unreadCount > 0 && (
<LinearGradient
colors={[colors.primary, colors.pastelPink]} // Pastel Green gradient
colors={[colors.primary, colors.primary]} // Pastel Green gradient
style={[styles.headerButton, styles.markReadButton]}>
<TouchableOpacity onPress={handleMarkAllAsRead}>
<Text style={styles.headerButtonText}>Mark All Read</Text>
@@ -224,14 +224,14 @@ const Notification = () => {
)}
{notifications.length > 0 && (
<LinearGradient
colors={[colors.pastelPink, colors.pastelBlue]} // Pastel Pink to Pastel Orange gradient
colors={[colors.pastelPink, colors.primary]} // Pastel Pink to Pastel Orange gradient
style={styles.headerButton}>
<TouchableOpacity onPress={handleClearAll}>
<Text style={styles.headerButtonText}>Clear All</Text>
</TouchableOpacity>
</LinearGradient>
)}
</View>
</View> */}
{/* Notification List */}
<FlatList