浏览代码

fix: Update the home while updating profile

MystiPanda 1 年之前
父节点
当前提交
2ec841eb61
共有 1 个文件被更改,包括 1 次插入1 次删除
  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() {