Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Re #9: Fix favouriting failure behaviour
Browse files Browse the repository at this point in the history
 * Set status based on correct flag
 * Don't close action panel until success (as per RT button)
  • Loading branch information
IBBoard committed Sep 14, 2019
1 parent e2ecf73 commit e7b0592
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/list/TweetListEntry.vala
Original file line number Diff line number Diff line change
Expand Up @@ -408,13 +408,11 @@ public class TweetListEntry : Cb.TwitterItem, Gtk.ListBoxRow {
toggle_mode ();
}
} else {
favorite_button.active = tweet.is_flag_set (Cb.TweetState.RETWEETED);
favorite_button.active = tweet.is_flag_set (Cb.TweetState.FAVORITED);
}

favorite_button.sensitive = true;
});
if (shows_actions)
toggle_mode ();
}

[GtkCallback]
Expand Down

0 comments on commit e7b0592

Please sign in to comment.