Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
terrarier2111 committed Mar 3, 2024
1 parent 7634543 commit b4cd1d6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/screen/launcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ impl super::Screen for Launcher {
back.add_click_func(move |_, game| {
let accounts = accounts.clone();
let account_type = account_type.clone();
let idx = idx;
let mut client_token = game.vars.get(auth::AUTH_CLIENT_TOKEN).clone();
if client_token.is_empty() {
client_token = std::iter::repeat(())
Expand Down Expand Up @@ -333,7 +332,6 @@ impl super::Screen for Launcher {
let accounts = self.accounts.clone();
btn.add_click_func(move |_, game| {
let accounts = accounts.clone();
let idx = idx;
game.screen_sys.clone().add_screen(Box::new(
super::confirm_box::ConfirmBox::new(
String::from("Do you want to delete this account?"),
Expand Down Expand Up @@ -371,7 +369,6 @@ impl super::Screen for Launcher {
btn.add_click_func(move |_, game| {
let accounts = accounts.clone();
let account_type = account_type.clone();
let idx = idx;
game.screen_sys.clone().add_screen(Box::new(
super::edit_account::EditAccountEntry::new(
Some((aname.clone(), apw.clone())),
Expand Down

0 comments on commit b4cd1d6

Please sign in to comment.