Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions client/screens/Alarms.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export default function Alarms() {
: textStyles.buttonText;

return (
<View style={[styles.container, dynamicStyles]}>
<ScrollView>
<Text style={{ ...textStyles.titleText, padding: 20, color: dynamicStyles.color }}>
Alarm Clock
Expand All @@ -96,5 +97,6 @@ export default function Alarms() {

<StatusBar />
</ScrollView>
</View>
);
}
3 changes: 2 additions & 1 deletion client/screens/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default function Home() {
const dynamicStyles = {
backgroundColor: isDarkMode ? 'darkgrey' : 'white',
color: isDarkMode ? 'white' : 'black',
buttonColor: isDarkMode ? 'dimgrey' : 'white',
};

const addNewTimeZone = (zone: TimeZone) => {
Expand Down Expand Up @@ -104,7 +105,7 @@ export default function Home() {
<TouchableOpacity onPress={() => removeTimeZone(index)} style={styles.deleteButton}>
<Text style={styles.deleteButtonText}>Delete</Text>
</TouchableOpacity>
<View style={[styles.box, { backgroundColor: dynamicStyles.backgroundColor }]}>
<View style={[styles.box, { backgroundColor: dynamicStyles.buttonColor }]}>
<Text style={{ ...styles.time, color: dynamicStyles.color }}>
{formatDate(currentTime, zone)}
</Text>
Expand Down