Skip to content

Commit

Permalink
refactor: adjust layer detail
Browse files Browse the repository at this point in the history
  • Loading branch information
vicanso committed Aug 21, 2023
1 parent d565eee commit aa33af6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ui/layer_detail.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ pub fn new_layer_detail_widget(layer: &ImageLayer, opt: DetailWidgetOption) -> D

let paragraph = Paragraph::new(vec![
Spans::from(Span::styled(
"Command:",
"Created:",
Style::default().add_modifier(Modifier::BOLD),
)),
Spans::from(cmd),
Spans::from(create_at),
Spans::from(Span::styled(
"Created:",
"Command:",
Style::default().add_modifier(Modifier::BOLD),
)),
Spans::from(create_at),
Spans::from(cmd),
])
.block(util::create_block(" Layer Details "))
.alignment(Alignment::Left)
Expand Down

0 comments on commit aa33af6

Please sign in to comment.