diff options
| author | 2026-01-16 10:28:30 +0800 | |
|---|---|---|
| committer | 2026-01-16 10:28:30 +0800 | |
| commit | fa11a9152fdf519bb5f222d94e2ce937babb17fb (patch) | |
| tree | a909285979e8093b931705c3009fafdbe098cae4 /src-tauri/src | |
| parent | 8157aa6550d3926924fe75b1f98f505c426094bf (diff) | |
| parent | 1c00c5051104887ac181a3c1ec87b63c35e7f9bc (diff) | |
| download | DropOut-fa11a9152fdf519bb5f222d94e2ce937babb17fb.tar.gz DropOut-fa11a9152fdf519bb5f222d94e2ce937babb17fb.zip | |
Merge pull request #44 from HsiangNianian/fix/security/alert-autofix-3
Diffstat (limited to 'src-tauri/src')
| -rw-r--r-- | src-tauri/src/main.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 3671166..b59ae31 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -83,13 +83,9 @@ async fn start_game( .clone() .ok_or("No active account found. Please login first.")?; - let account_type = match &account { - core::auth::Account::Offline(_) => "Offline", - core::auth::Account::Microsoft(_) => "Microsoft", - }; emit_log!( window, - format!("Account found: {} ({})", account.username(), account_type) + format!("Account found: {}", account.username()) ); let config = config_state.config.lock().unwrap().clone(); |