Skip to content

Commit 6df2c6e

Browse files
authored
Merge pull request #31 from Manta-Network/close_app_on_close_window
close app on quit window
2 parents 1157e0a + e2d9852 commit 6df2c6e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ui/src-tauri/src/main.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,7 @@ fn main() {
355355
api.prevent_close();
356356
match label.as_str() {
357357
"about" => app.get_window(&label).unwrap().hide().unwrap(),
358-
"main" => {
359-
// TODO: For the create account / login page, run `app.exit(0)`.
360-
}
358+
"main" => app.exit(0),
361359
_ => unreachable!("There are no other windows."),
362360
}
363361
}

0 commit comments

Comments
 (0)