UI improvements

This commit is contained in:
ChristianVisintin 2020-11-30 14:20:10 +01:00
parent c8a2419a4f
commit 6181439e65

View file

@ -1998,7 +1998,7 @@ impl FileTransferActivity {
/// Draw input popup /// Draw input popup
fn draw_popup_input(&self, text: String) -> Paragraph { fn draw_popup_input(&self, text: String) -> Paragraph {
Paragraph::new(self.input_txt.as_ref()) Paragraph::new(self.input_txt.as_ref())
.style(Style::default().fg(Color::Yellow)) .style(Style::default().fg(Color::White))
.block(Block::default().borders(Borders::ALL).title(text)) .block(Block::default().borders(Borders::ALL).title(text))
} }
@ -2021,7 +2021,7 @@ impl FileTransferActivity {
.block(Block::default().borders(Borders::ALL).title(text)) .block(Block::default().borders(Borders::ALL).title(text))
.gauge_style( .gauge_style(
Style::default() Style::default()
.fg(Color::Magenta) .fg(Color::Green)
.bg(Color::Black) .bg(Color::Black)
.add_modifier(Modifier::BOLD), .add_modifier(Modifier::BOLD),
) )