From e453b00e717977a9a48ba4e3e80e003794ae55a3 Mon Sep 17 00:00:00 2001 From: Sharker <1548742234@qq.com> Date: Tue, 19 Nov 2024 14:13:52 +0800 Subject: [PATCH] chore: clean up code remove `self.objectWillChange.send ` --- Easydict/Swift/View/SettingView/Tabs/TabView/ServiceTab.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Easydict/Swift/View/SettingView/Tabs/TabView/ServiceTab.swift b/Easydict/Swift/View/SettingView/Tabs/TabView/ServiceTab.swift index 870916e12..4241d347a 100644 --- a/Easydict/Swift/View/SettingView/Tabs/TabView/ServiceTab.swift +++ b/Easydict/Swift/View/SettingView/Tabs/TabView/ServiceTab.swift @@ -214,7 +214,7 @@ private class ServiceItemViewModel: ObservableObject { self.service.enabledQuery = true EZLocalStorage.shared().setService(self.service, windowType: self.viewModel.windowType) self.viewModel.postUpdateServiceNotification() - self.objectWillChange.send() +// self.objectWillChange.send() } } }