Restructure version.Update to use channel

This commit is contained in:
M Essam Hamed
2025-09-01 15:13:13 +03:00
parent c6328788ca
commit 762b9b7b56
5 changed files with 52 additions and 25 deletions
+1 -1
View File
@@ -1213,7 +1213,7 @@ func protoConfigToConfig(cfg *proto.GetConfigResponse) *profilemanager.Config {
return &config
}
func (s *serviceClient) onUpdateAvailable(_ string) {
func (s *serviceClient) onUpdateAvailable() {
s.updateIndicationLock.Lock()
defer s.updateIndicationLock.Unlock()