Get background file name

This commit is contained in:
KingRainbow44
2022-05-14 02:18:20 -04:00
parent d7cadc1603
commit 73138cb686
8 changed files with 19 additions and 14 deletions

View File

@@ -1,4 +1,3 @@
#[tauri::command]
pub async fn get_lang(window: tauri::Window, lang: String) -> String {
let lang = lang.to_lowercase();
@@ -15,7 +14,6 @@ pub async fn get_lang(window: tauri::Window, lang: String) -> String {
return contents;
}
pub fn emit_lang_err(window: tauri::Window, msg: std::string::String) {
let mut res_hash = std::collections::HashMap::new();