clippy
This commit is contained in:
@@ -330,9 +330,10 @@ fn update_game_directory(app_handle: tauri::AppHandle, path: String) {
|
||||
});
|
||||
|
||||
if let Some(peer_ctrl) = peer_ctrl
|
||||
&& let Err(e) = peer_ctrl.send(PeerCommand::SetGameDir(path.clone())) {
|
||||
log::error!("Failed to send PeerCommand::SetGameDir: {e}");
|
||||
}
|
||||
&& let Err(e) = peer_ctrl.send(PeerCommand::SetGameDir(path.clone()))
|
||||
{
|
||||
log::error!("Failed to send PeerCommand::SetGameDir: {e}");
|
||||
}
|
||||
|
||||
{
|
||||
tauri::async_runtime::block_on(async {
|
||||
|
||||
Reference in New Issue
Block a user