Skip to content

Commit 95a4135

Browse files
Merge pull request #383 from OpenDTU-App/update-notification-colors-on-homescreen
2 parents f950c8b + 992eea2 commit 95a4135

1 file changed

Lines changed: 18 additions & 6 deletions

File tree

src/components/AppInfos.tsx

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,22 @@ const AppInfos: FC = () => {
5656
}}
5757
>
5858
<Box mh={8}>
59-
<Icon size={24} source="file-document" />
59+
<Icon color={colors.onInfo} size={24} source="file-document" />
6060
</Box>
6161
<Box style={{ flex: 1 }}>
62-
<Text variant="titleMedium">{t('appInfos.feedback')}</Text>
62+
<Text style={{ color: colors.onInfo }} variant="titleMedium">
63+
{t('appInfos.feedback')}
64+
</Text>
6365
<Text style={{ color: colors.onInfo }}>
6466
{t('appInfos.feedbackDescription')}
6567
</Text>
6668
</Box>
6769
</Box>
68-
<IconButton icon="close" onPress={handleHideFeedbackInfo} />
70+
<IconButton
71+
iconColor={colors.onInfo}
72+
icon="close"
73+
onPress={handleHideFeedbackInfo}
74+
/>
6975
</Box>
7076
) : null}
7177
{!bugreportInfoDismissed ? (
@@ -91,15 +97,21 @@ const AppInfos: FC = () => {
9197
}}
9298
>
9399
<Box mh={8}>
94-
<Icon size={24} source="bug" />
100+
<Icon color={colors.onInfo} size={24} source="bug" />
95101
</Box>
96102
<Box style={{ flex: 1 }}>
97-
<Text variant="titleMedium">{t('appInfos.bugReporting')}</Text>
103+
<Text style={{ color: colors.onInfo }} variant="titleMedium">
104+
{t('appInfos.bugReporting')}
105+
</Text>
98106
<Text style={{ color: colors.onInfo, flex: 1 }}>
99107
{t('appInfos.bugReportingDescription')}
100108
</Text>
101109
</Box>
102-
<IconButton icon="close" onPress={handleHideBugreportInfo} />
110+
<IconButton
111+
iconColor={colors.onInfo}
112+
icon="close"
113+
onPress={handleHideBugreportInfo}
114+
/>
103115
</Box>
104116
</Box>
105117
) : null}

0 commit comments

Comments
 (0)