Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
halfmexican committed May 14, 2024
1 parent 710cc8d commit e3f7bab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/window.vala
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@ namespace Mingle {
}

private async void add_combined_emoji (string left_emoji_code, string right_emoji_code, Gtk.RevealerTransitionType transition) {
string? gstatic_url = emoji_manager.get_combined_emoji_url(left_emoji_code, right_emoji_code);
string? gstatic_url = emoji_manager.get_combined_emoji_url (left_emoji_code, right_emoji_code);
if (gstatic_url != null) {
Mingle.CombinedEmoji combined_emoji = yield new Mingle.CombinedEmoji(gstatic_url, transition);
Mingle.CombinedEmoji combined_emoji = yield new Mingle.CombinedEmoji (gstatic_url, transition);
if (combined_emoji != null) {
combined_emojis_flow_box.prepend(combined_emoji);
combined_emojis_flow_box.prepend (combined_emoji);
combined_emoji.revealer.reveal_child = true;
combined_emoji.copied.connect(() => {
create_and_show_toast ("Image copied to clipboard", 3);
Expand All @@ -177,7 +177,7 @@ namespace Mingle {

// Clear the flowbox if we're loading from the beginning
if (batch_offset == 0) {
combined_emojis_flow_box.remove_all();
combined_emojis_flow_box.remove_all ();
}

// Fetch a batch of combinations lazily
Expand Down

0 comments on commit e3f7bab

Please sign in to comment.