From 3212f4162585442ac98ebd478b7a8f7212a55ec1 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Tue, 15 Aug 2023 13:36:44 +0200 Subject: [PATCH] Keyboard settings --- sbapp/sideband/core.py | 1 + sbapp/ui/layouts.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/sbapp/sideband/core.py b/sbapp/sideband/core.py index 25a7183..860e505 100644 --- a/sbapp/sideband/core.py +++ b/sbapp/sideband/core.py @@ -2001,6 +2001,7 @@ class SidebandCore(): self.setstate("app.flags.unread_conversations", True) else: if self.gui_foreground(): + RNS.log("Squelching notification since GUI is in foreground", RNS.LOG_DEBUG) should_notify = False else: self.unread_conversation(context_dest) diff --git a/sbapp/ui/layouts.py b/sbapp/ui/layouts.py index 417bced..8baa8d8 100644 --- a/sbapp/ui/layouts.py +++ b/sbapp/ui/layouts.py @@ -150,6 +150,8 @@ MDNavigationLayout: MDTextField: id: message_text + input_type: "text" + keyboard_suggestions: True multiline: True hint_text: "Write message" mode: "rectangle"