Procházet zdrojové kódy

fix: Update the home while updating profile

MystiPanda před 1 rokem
rodič
revize
2ec841eb61
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src-tauri/src/config/profiles.rs

+ 1 - 1
src-tauri/src/config/profiles.rs

@@ -211,7 +211,7 @@ impl IProfiles {
                 if each.uid == some_uid {
                     each.extra = item.extra;
                     each.updated = item.updated;
-
+                    each.home = item.home;
                     // save the file data
                     // move the field value after save
                     if let Some(file_data) = item.file_data.take() {