Remove unused parens

This commit is contained in:
Elias Projahn 2021-02-15 17:15:44 +01:00
parent 266335dfc5
commit be6e7fd93a

View file

@ -59,7 +59,7 @@ impl Screen<(), LoginData> for RegisterDialog {
let password = this.password_entry.get_text().unwrap().to_string(); let password = this.password_entry.get_text().unwrap().to_string();
let repeat = this.repeat_password_entry.get_text().unwrap().to_string(); let repeat = this.repeat_password_entry.get_text().unwrap().to_string();
if (password != repeat) { if password != repeat {
// TODO: Show error and validate other input. // TODO: Show error and validate other input.
} else { } else {
this.widget.set_visible_child_name("loading"); this.widget.set_visible_child_name("loading");