Skip to content

Commit

Permalink
Total value isn't animated
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Dec 6, 2024
1 parent fa208f6 commit 27c4116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Views/OperatingSystemView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -827,9 +827,9 @@ public class About.OperatingSystemView : Gtk.Box {
int64 percent_complete = sponsors_listing.get_int_member ("percentComplete");
double target_value = sponsors_listing.get_double_member ("targetValue");
char currency[20];
Monetary.strfmon (currency, "%5.0n", target_value);

var animation_target = new Adw.CallbackAnimationTarget ((val) => {
Monetary.strfmon (currency, "%5.0n", target_value);
target_label.label = _("%.0f%% towards %s per month goal".printf (
Math.round (val),
(string) currency
Expand Down

0 comments on commit 27c4116

Please sign in to comment.