File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -149,14 +149,14 @@ final class ConnectionsSynchronizer {
149149 /// - connections: An optional list of connections to start monitoring.
150150 /// - lifecycleSynchronizationOptions: The app lifecycle synchronization options to use with the scheduler
151151 func activate( connections ids: [ String ] ? = nil , lifecycleSynchronizationOptions: ApplicationLifecycleSynchronizationOptions ) {
152+ start ( lifecycleSynchronizationOptions: lifecycleSynchronizationOptions)
153+ update ( isActivation: true )
152154 if let ids = ids {
153155 registry. addConnections ( with: ids, shouldNotify: false )
154156 ConnectButtonController . synchronizationLog ( " Activated synchronization with connection ids: \( ids) " )
155157 } else {
156158 ConnectButtonController . synchronizationLog ( " Activated synchronization " )
157159 }
158- start ( lifecycleSynchronizationOptions: lifecycleSynchronizationOptions)
159- update ( isActivation: true )
160160 }
161161
162162 /// Used to deactivate and stop synchronization.
You can’t perform that action at this time.
0 commit comments