diff --git a/components/AddTask.js b/components/AddTask.js index ba607015..2b433620 100644 --- a/components/AddTask.js +++ b/components/AddTask.js @@ -88,6 +88,7 @@ const CreateTaskScreen = ({ route }) => { style={styles.input} value={taskName} placeholder="Name" + placeholderTextColor={"grey"} onChangeText={setTaskName} /> @@ -95,6 +96,7 @@ const CreateTaskScreen = ({ route }) => { style={styles.input} value={location} placeholder="Location" + placeholderTextColor={"grey"} onChangeText={setLocation} /> @@ -102,6 +104,7 @@ const CreateTaskScreen = ({ route }) => { style={[styles.input, styles.tallInput]} value={comment} placeholder="Comments" + placeholderTextColor={"grey"} multiline onChangeText={setComment} /> diff --git a/components/DailyView.js b/components/DailyView.js index 20f1bb9d..a95f451a 100644 --- a/components/DailyView.js +++ b/components/DailyView.js @@ -148,7 +148,7 @@ const DailyView = ({ [item.id]: !prev[item.id] }))} > - + {visibleTaskActions[item.id] && ( diff --git a/styles/DailyViewStyles.js b/styles/DailyViewStyles.js index a18c1206..ab27fff0 100644 --- a/styles/DailyViewStyles.js +++ b/styles/DailyViewStyles.js @@ -23,6 +23,7 @@ const getStyles = (theme) => borderRadius: 5, }, taskItemText: { + color: theme === "dark" ? "white" : "black", fontSize: 16, maxWidth: '50%', // Set the maxWidth to a value that works with your layout marginRight: 10, // Add some margin to the right of the text @@ -60,9 +61,11 @@ const getStyles = (theme) => padding: 10, }, moreButton: { + color: theme === "dark" ? "white" : "black", padding: 10, }, taskActions: { + color: theme === "dark" ? "white" : "black", flexDirection: 'row', alignItems: 'center', },