Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
omid committed Jan 24, 2022
1 parent f042181 commit 6d4b637
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/ui/mod.rs
Expand Up @@ -9,10 +9,9 @@ use tui::{
backend::Backend,
layout::{Alignment, Constraint, Rect},
text::{Span, Spans, Text},
widgets::{Block, Borders, Paragraph, Tabs, Wrap},
widgets::{Block, BorderType, Borders, Paragraph, Tabs, Wrap},
Frame,
};
use tui::widgets::BorderType;

use self::{
contexts::draw_contexts,
Expand Down
2 changes: 1 addition & 1 deletion src/ui/utils.rs
Expand Up @@ -139,7 +139,7 @@ pub fn layout_block_active(title: &str) -> Block<'_> {
pub fn layout_block_active_span(title: Spans<'_>) -> Block<'_> {
Block::default()
.borders(Borders::ALL)
.border_type(BorderType::Rounded)
.border_type(BorderType::Rounded)
.title(title)
.style(style_secondary())
}
Expand Down

0 comments on commit 6d4b637

Please sign in to comment.