aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/chat_input/chat_input_controller.vala
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2024-02-18 19:52:40 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2024-02-18 19:52:40 +0100
commitf27385d952a7400902a58e67d02a6089e2de6289 (patch)
tree1f17c9502b4c14352dd6d41f2d747ac38f3b9705 /main/src/ui/chat_input/chat_input_controller.vala
parent4f950d401b2feb799b20e3231e6f09b892614a8c (diff)
downloaddino-f27385d952a7400902a58e67d02a6089e2de6289.tar.gz
dino-f27385d952a7400902a58e67d02a6089e2de6289.zip
More noticeable encryption type color and encryption status
- added file changes-allow-symbolic from GTK Adwaita icon theme as dino-unencrypted.svg (licensed under LGPL3)
Diffstat (limited to 'main/src/ui/chat_input/chat_input_controller.vala')
-rw-r--r--main/src/ui/chat_input/chat_input_controller.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/chat_input/chat_input_controller.vala b/main/src/ui/chat_input/chat_input_controller.vala
index d1c42d35..cee5fb71 100644
--- a/main/src/ui/chat_input/chat_input_controller.vala
+++ b/main/src/ui/chat_input/chat_input_controller.vala
@@ -103,7 +103,7 @@ public class ChatInputController : Object {
private void on_encryption_changed(Encryption encryption) {
reset_input_field_status();
- if (encryption == Encryption.NONE) return;
+ if (encryption == Encryption.NONE) status_description_label.label = "This message won't be end-to-end encrypted." ; return;
Application app = GLib.Application.get_default() as Application;
var encryption_entry = app.plugin_registry.encryption_list_entries[encryption];