Skip to content

Commit

Permalink
Update 'iconcolor' field from SSE events (#3468)
Browse files Browse the repository at this point in the history
Support for that field was added in openhab/openhab-core#3403

Fixes #3466

Signed-off-by: Danny Baumann <[email protected]>
  • Loading branch information
maniac103 authored Sep 5, 2023
1 parent c94a7d7 commit ded0e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mobile/src/main/java/org/openhab/habdroid/model/Widget.kt
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ data class Widget(
linkedPage = source.linkedPage,
mappings = source.mappings,
encoding = source.encoding,
iconColor = source.iconColor,
iconColor = eventPayload.optStringOrNull("iconcolor"),
labelColor = eventPayload.optStringOrNull("labelcolor"),
valueColor = eventPayload.optStringOrNull("valuecolor"),
refresh = source.refresh,
Expand Down

0 comments on commit ded0e8c

Please sign in to comment.