Fix being unable to set ui.Container colour to black

This commit is contained in:
Soheab
2026-07-08 16:15:59 -04:00
committed by GitHub
parent 7057cb10c0
commit 0481f62cca
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1379,7 +1379,7 @@ class Container(Component):
}
if self.id is not None:
payload['id'] = self.id
if self._colour:
if self._colour is not None:
payload['accent_color'] = self._colour.value
return payload