summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 23b7be7..b5ceccd 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -165,10 +165,12 @@ impl AsyncComponent for App {
                     pack_end = &gtk::Button {
                         set_icon_name: "document-send-symbolic",
                         set_tooltip: "Send post",
+                        #[watch]
                         set_visible: model.micropub.is_some(),
+                        #[watch]
                         set_sensitive: model.submit_busy_guard.is_none(),
                         connect_clicked => Self::Input::SubmitButtonPressed,
-                    }
+                    },
                 },
 
                 #[transition = "Crossfade"]