From eb4af3c56bdf878050000a47a30857ba6e8fc1be Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sat, 1 Jun 2024 14:14:12 +0200 Subject: [PATCH] Added emoji rendering in input field --- sbapp/main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sbapp/main.py b/sbapp/main.py index f312531..0ce8b5f 100644 --- a/sbapp/main.py +++ b/sbapp/main.py @@ -388,6 +388,9 @@ class SidebandApp(MDApp): LabelBase.register(name="emoji", fn_regular=fb_path+"NotoEmoji-Regular.ttf") + LabelBase.register(name="default_input", + fn_regular=fb_path+"DefaultInput.ttf") + LabelBase.register(name="combined", fn_regular=fb_path+"NotoSans-Regular.ttf", fn_bold=fb_path+"NotoSans-Bold.ttf", @@ -397,7 +400,7 @@ class SidebandApp(MDApp): def update_input_language(self): language = self.sideband.config["input_language"] if language == None: - self.input_font = "Roboto" + self.input_font = "default_input" RNS.log("Setting input language to default set", RNS.LOG_DEBUG) else: self.input_font = language