From 8dc2c1a38fc5c85da58caef362bf32e706235d1f Mon Sep 17 00:00:00 2001
From: GyDi <segydi@foxmail.com>
Date: Wed, 2 Mar 2022 01:45:00 +0800
Subject: [PATCH] fix: cover profile extra

---
 src-tauri/src/core/profiles.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src-tauri/src/core/profiles.rs b/src-tauri/src/core/profiles.rs
index da5ba86..23836df 100644
--- a/src-tauri/src/core/profiles.rs
+++ b/src-tauri/src/core/profiles.rs
@@ -321,8 +321,8 @@ impl Profiles {
 
       for mut each in items.iter_mut() {
         if each.uid == some_uid {
-          patch!(each, item, extra);
-          patch!(each, item, updated);
+          each.extra = item.extra;
+          each.updated = item.updated;
 
           // save the file data
           // move the field value after save
-- 
GitLab