Skip to content

Commit

Permalink
2.0.0 - Material Design 3
Browse files Browse the repository at this point in the history
Edit with `Black` utility.
  • Loading branch information
HeaTTheatR committed Dec 26, 2023
1 parent 7b5bf7d commit b4447e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kivymd/uix/textfield/textfield.py
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,9 @@ def set_text(*args):
self._hint_text_label.texture_update()
self.set_hint_text_font_size()

if (not self.text and not self.focus) or (self.text and not self.focus):
if (not self.text and not self.focus) or (
self.text and not self.focus
):
self.on_focus(instance, False)

Clock.schedule_once(set_text)
Expand Down

0 comments on commit b4447e2

Please sign in to comment.