Allow resizing of custom clock widgets
This commit is contained in:
@@ -843,6 +843,7 @@
|
||||
<string name="widget_config_appwidget_background">Background card</string>
|
||||
<string name="widget_config_appwidget_configure">Configure widget</string>
|
||||
<string name="widget_config_appwidget_resize_hint">Drag to resize</string>
|
||||
<string name="widget_config_appwidget_resize">Resize</string>
|
||||
<string name="widget_config_weather_integration_settings">Weather integration settings</string>
|
||||
<string name="widget_config_calendar_no_calendars">No calendars found</string>
|
||||
<string name="widget_pick_widget">Pick widget</string>
|
||||
|
||||
+5
-1
@@ -239,7 +239,11 @@ sealed interface ClockWidgetStyle {
|
||||
|
||||
@Serializable
|
||||
@SerialName("custom")
|
||||
data class Custom(val widgetId: Int? = null) : ClockWidgetStyle
|
||||
data class Custom(
|
||||
val widgetId: Int? = null,
|
||||
val width: Int? = null,
|
||||
val height: Int = 200,
|
||||
) : ClockWidgetStyle
|
||||
}
|
||||
|
||||
@Serializable
|
||||
|
||||
Reference in New Issue
Block a user