diff options
Diffstat (limited to 'src/display/ui.rs')
-rw-r--r-- | src/display/ui.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/ui.rs b/src/display/ui.rs index 4b6d716..4a2866e 100644 --- a/src/display/ui.rs +++ b/src/display/ui.rs @@ -33,7 +33,7 @@ where let state = { let mut state = UIState::default(); state.interface_name = opts.interface.clone(); - state.unit_family = opts.render_opts.unit_family; + state.unit_family = opts.render_opts.unit_family.into(); state.cumulative_mode = opts.render_opts.total_utilization; state }; |