1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-04 01:09:47 +01:00

Change colors

This commit is contained in:
Martin.JM 2024-02-21 21:31:10 +01:00
parent a4eaf66386
commit 5968a04cf7

View File

@ -142,9 +142,9 @@ public class AlarmDetails extends AbstractGBActivity {
// Enabled or not can still be seen in the checkmark // Enabled or not can still be seen in the checkmark
// TODO: I'd like feedback on this // TODO: I'd like feedback on this
if (GBApplication.isDarkThemeEnabled()) if (GBApplication.isDarkThemeEnabled())
cbSmartWakeup.setTextColor(getResources().getColor(R.color.primarytext_dark)); cbSmartWakeup.setTextColor(getResources().getColor(android.R.color.secondary_text_dark));
else else
cbSmartWakeup.setTextColor(getResources().getColor(R.color.primarytext_light)); cbSmartWakeup.setTextColor(getResources().getColor(android.R.color.secondary_text_light));
} }
if (smartAlarmIntervalSupported) if (smartAlarmIntervalSupported)
cbSmartWakeup.setText(R.string.alarm_smart_wakeup_interval); cbSmartWakeup.setText(R.string.alarm_smart_wakeup_interval);