We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 662b905 commit 745da77Copy full SHA for 745da77
src/window/ComposeTweetWindow.vala
@@ -172,7 +172,7 @@ class ComposeTweetWindow : Gtk.ApplicationWindow {
172
int length = TweetUtils.calc_tweet_length (text, add_url);
173
174
length_label.label = (Cb.Tweet.MAX_LENGTH - length).to_string ();
175
- if (length > 0 && length <= Cb.Tweet.MAX_LENGTH)
+ if ((length > 0 && length <= Cb.Tweet.MAX_LENGTH) || (compose_image_manager.n_images > 0 && length == 0))
176
send_button.sensitive = true;
177
else
178
send_button.sensitive = false;
0 commit comments