Add dark mode to clock widget
This commit is contained in:
@@ -45,6 +45,7 @@ fun createFactorySettings(context: Context): Settings {
|
||||
.newBuilder()
|
||||
.setLayout(Settings.ClockWidgetSettings.ClockWidgetLayout.Vertical)
|
||||
.setClockStyle(Settings.ClockWidgetSettings.ClockStyle.DigitalClock1)
|
||||
.setColor(Settings.ClockWidgetSettings.ClockWidgetColors.Auto)
|
||||
.setAlarmPart(true)
|
||||
.setBatteryPart(true)
|
||||
.setDatePart(true)
|
||||
|
||||
@@ -122,6 +122,13 @@ message Settings {
|
||||
bool alarm_part = 6;
|
||||
bool favorites_part = 7;
|
||||
bool fill_height = 8;
|
||||
|
||||
enum ClockWidgetColors {
|
||||
Auto = 0;
|
||||
Light = 1;
|
||||
Dark = 2;
|
||||
}
|
||||
ClockWidgetColors color = 9;
|
||||
}
|
||||
ClockWidgetSettings clock_widget = 7;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user