Skip to content

Commit

Permalink
Support remove_widget() on MDSwitch (#1647)
Browse files Browse the repository at this point in the history
  • Loading branch information
ikus060 authored Mar 22, 2024
1 parent 0cb5697 commit 4e9fdba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion kivymd/uix/selectioncontrol/selectioncontrol.kv
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
pos_hint: {"center_x": .5, "center_y": .5}
theme_text_color: "Custom"
text_color:
( \
( \
( \
root.parent.icon_active_color \
Expand All @@ -76,7 +77,9 @@
if root.parent.icon_active else \
self.theme_cls.surfaceContainerHighestColor[:-1] \
+ [root.parent.switch_opacity_value_disabled_icon] \
)
) \
) \
if root.parent else self.theme_cls.transparentColor


<MDSwitch>
Expand Down

0 comments on commit 4e9fdba

Please sign in to comment.