diff --git a/bin/commands/patch/list/ui.rs b/bin/commands/patch/list/ui.rs index f4bb9f70..38ce2172 100644 --- a/bin/commands/patch/list/ui.rs +++ b/bin/commands/patch/list/ui.rs @@ -135,7 +135,7 @@ pub fn browse_context(context: &Context, theme: &Theme, progress: Progress) -> W "Patches", "", "", - &format!("{draft} draft | {open} open | {archived} archived | {merged} merged"), + &format!("Draft {draft} | Open {open} | Archived {archived} | Merged {merged}"), &progress.to_string(), ) } diff --git a/src/ui.rs b/src/ui.rs index 1ac7f296..f3f9ce3d 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -19,6 +19,8 @@ use widget::list::{ColumnWidth, Property, PropertyList, PropertyTable}; use widget::Widget; +use self::widget::label::LabelGroup; + use super::context::Context; use crate::ui::theme::Theme; @@ -36,6 +38,19 @@ pub fn label(content: &str) -> Widget