aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/chat_input/view.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2022-08-21 00:10:59 +0200
committerfiaxh <git@lightrise.org>2022-08-21 14:16:31 +0200
commit054d3fec1627a9ee8d84d636d578aa68d3494d19 (patch)
treeb01b7ab4be03d40ec24275de7cc31b21b76bc18b /main/src/ui/chat_input/view.vala
parentd6afa6e8ff4cfb533140d9434b83f18f627f11ca (diff)
downloaddino-054d3fec1627a9ee8d84d636d578aa68d3494d19.tar.gz
dino-054d3fec1627a9ee8d84d636d578aa68d3494d19.zip
Fix encryption button update and reduce its required GTK version
MenuButton.activate only exists since 4.4
Diffstat (limited to 'main/src/ui/chat_input/view.vala')
-rw-r--r--main/src/ui/chat_input/view.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/chat_input/view.vala b/main/src/ui/chat_input/view.vala
index 3de060c6..4be4455b 100644
--- a/main/src/ui/chat_input/view.vala
+++ b/main/src/ui/chat_input/view.vala
@@ -88,7 +88,7 @@ public class View : Box {
public void highlight_state_description() {
chat_input_status.add_css_class("input-status-highlight-once");
- Timeout.add_seconds(1, () => {
+ Timeout.add(500, () => {
chat_input_status.remove_css_class("input-status-highlight-once");
return false;
});