forked from trinitrix/core
1
0
Fork 0

Fix(UI): Removed unneeded mut statements

This commit is contained in:
antifallobst 2023-07-10 21:28:37 +02:00
parent 20be391b9e
commit ce59c504bd
Signed by: antifallobst
GPG Key ID: 2B4F402172791BAF
1 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ impl SetupUI<'_> {
let mut homeserver = TextArea::new(vec!["https://matrix.org".to_string()]);
let mut username = TextArea::default();
let mut password = TextArea::default();
let mut password_data = TextArea::default();
let password_data = TextArea::default();
homeserver.set_block(Block::default().title("Homeserver").borders(Borders::ALL));
username.set_block(Block::default().title("Username").borders(Borders::ALL));
@ -202,7 +202,7 @@ impl SetupUI<'_> {
let block = Block::default().title("Login").borders(Borders::ALL);
let mut ok = Paragraph::new(content_ok).alignment(Alignment::Center);
let ok = Paragraph::new(content_ok).alignment(Alignment::Center);
// define a 32 * 6 chunk in the middle of the screen
let mut chunk = terminal.size()?;