Skip to content

Commit 2ab004f

Browse files
MposKeyboard: fix FontManager API
1 parent 1014a77 commit 2ab004f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal_filesystem/lib/mpos/ui/keyboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def _ensure_textarea_emoji_font(self, textarea, text):
266266
except Exception:
267267
pass
268268

269-
emoji_font = FontManager.getFont(size=size, family=family, emoji="on")
269+
emoji_font = FontManager.getFont(size=size, family=family, emoji=True)
270270
textarea.set_style_text_font(emoji_font, lv.PART.MAIN)
271271
self._textarea_emoji_font_applied = True
272272

0 commit comments

Comments
 (0)