Skip to content

Commit

Permalink
Sync iCloud data when changed externally
Browse files Browse the repository at this point in the history
  • Loading branch information
0xLeif committed Nov 29, 2023
1 parent afca454 commit 25771c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/AppState/Application/Application.swift
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ open class Application: NSObject, ObservableObject {
line: #line,
column: #column
)

Application.dependency(\.icloudStore).synchronize()
}

/// Returns value for the provided keyPath. This method is thread safe
Expand Down

0 comments on commit 25771c7

Please sign in to comment.