mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Fix UI version hanging on image download (#40)
Done by using task::spawn_blocking and blockon
This commit is contained in:
+1
-3
@@ -8,7 +8,7 @@ use config::{Config, ConfigError, Environment, File};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::env;
|
||||
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
#[derive(Debug, Deserialize, Serialize, Clone)]
|
||||
pub struct Settings {
|
||||
pub debug: bool,
|
||||
pub epic_games: EpicGamesLauncherSettings,
|
||||
@@ -50,8 +50,6 @@ impl Settings {
|
||||
|
||||
sanitize_auth_key(&mut result);
|
||||
|
||||
|
||||
|
||||
result
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user