Skip to content

Commit

Permalink
Better unused size
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Jun 6, 2024
1 parent 95d1a5b commit 3d076dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Widgets/DiskBar.vala
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public class Installer.DiskBar: Gtk.Box {
var unused_bar = new Block ();
unused_bar.add_css_class ("unused");

append_partition (unused_bar, 1.0);
append_partition (unused_bar, unused / size);
}

var layout_manager = ((Gtk.ConstraintLayout) get_layout_manager ());
Expand Down

0 comments on commit 3d076dd

Please sign in to comment.