Allow resizing of custom clock widgets

This commit is contained in:
MM20
2024-04-19 22:01:40 +02:00
parent 64002c9f38
commit 38c048ec03
6 changed files with 481 additions and 204 deletions
@@ -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