diff --git a/components/DailyView.js b/components/DailyView.js index 15bbd988..20f1bb9d 100644 --- a/components/DailyView.js +++ b/components/DailyView.js @@ -14,6 +14,8 @@ import eventEmitter from "./EventEmitter"; import { useTheme } from "../services/ThemeContext"; import getStyles from "../styles/DailyViewStyles"; import BirthdayCelebration from "./BDCelebration"; +import Icon from 'react-native-vector-icons/FontAwesome'; +import Icon2 from 'react-native-vector-icons/Fontisto'; const DailyView = ({ userID, @@ -136,23 +138,38 @@ const DailyView = ({ keyExtractor={(item) => item.id.toString()} renderItem={({ item }) => ( - - {item.name} {item.completed ? "✓" : ""} + + {item.completed ? : ""} {item.name} setVisibleTaskActions(prev => ({ ...prev, - [item.id]: !prev[item.id] // Toggle visibility of action buttons + [item.id]: !prev[item.id] }))} > - + {visibleTaskActions[item.id] && ( -