small fix for color_mode_button (#4634)

This commit is contained in:
Thomas Brandého 2025-01-14 06:02:54 -08:00 committed by GitHub
parent 1e7a37bcf9
commit f69be58f59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -151,8 +151,8 @@ class ColorModeIconButton(IconButton):
dropdown_menu.trigger( dropdown_menu.trigger(
super().create( super().create(
ColorModeIcon.create(), ColorModeIcon.create(),
**props, ),
) **props,
), ),
dropdown_menu.content( dropdown_menu.content(
color_mode_item("light"), color_mode_item("light"),