chenging ui design where needed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user