diff options
| author | fiaxh <git@lightrise.org> | 2026-05-25 22:24:47 +0200 |
|---|---|---|
| committer | fiaxh <git@lightrise.org> | 2026-05-25 22:24:47 +0200 |
| commit | e76a727fdc4a28ec3b6a1a7aed57f6a283bf2eda (patch) | |
| tree | 6ca3cc911d625ab819243802ccfdf231e305b188 /main/src/ui/chat_input/chat_text_view.vala | |
| parent | ddbb00ee56ca8ddc5db3ed9b6f4003bb6020ed6b (diff) | |
Move file send ui into chat input, allow selecting multiple files
Diffstat (limited to 'main/src/ui/chat_input/chat_text_view.vala')
| -rw-r--r-- | main/src/ui/chat_input/chat_text_view.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/chat_input/chat_text_view.vala b/main/src/ui/chat_input/chat_text_view.vala index 201b60ac..5f072e9a 100644 --- a/main/src/ui/chat_input/chat_text_view.vala +++ b/main/src/ui/chat_input/chat_text_view.vala @@ -150,7 +150,7 @@ public class ChatTextView : Box { if ((state & ModifierType.SHIFT_MASK) > 0) { // Let the default handler normally insert a newline if shift was hold return false; - } else if (text_view.buffer.text.strip() != "") { + } else { send_text(); } return true; |
