refactor: Ran cargo clippy & cargo fmt

Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
quexeky
2024-11-10 13:21:37 +11:00
parent 1aa52c0a21
commit 4983b25702
4 changed files with 10 additions and 7 deletions

View File

@ -120,7 +120,7 @@ pub async fn get_game_download_progress(
pub async fn set_download_state(
state: tauri::State<'_, Mutex<AppState>>,
game_id: String,
status: GameDownloadState
status: GameDownloadState,
) -> Result<(), String> {
info!("Setting game state");
get_game_download(state, game_id).change_state(status);