Fixed issue while converting change-listeners property value to a string

This commit is contained in:
Mikalai Turankou 2025-08-11 14:39:06 +03:00
parent 942d7c45d3
commit cccbb75219
1 changed files with 2 additions and 2 deletions

View File

@ -956,9 +956,9 @@ func propertyValueToString(tag PropertyName, value any, indent string) string {
writeString(buffer, text) writeString(buffer, text)
buffer.WriteString(",\n") buffer.WriteString(",\n")
} }
buffer.WriteString(indent)
buffer.WriteRune('}')
} }
buffer.WriteString(indent)
buffer.WriteRune('}')
return buffer.String() return buffer.String()
case []popupButton: case []popupButton: