Skip to content

Commit

Permalink
Update @mainactor
Browse files Browse the repository at this point in the history
  • Loading branch information
tekezo committed Jan 24, 2025
1 parent d3bfe7e commit b737b84
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/ShowyEdge/swift/IndicatorsController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,9 @@ class IndicatorsController {
}
}

userSettings.objectWillChange.sink { _ in
Task { @MainActor in
self.updateWindowFrames()
self.updateColorByInputSource()
}
userSettings.objectWillChange.sink { @MainActor _ in
self.updateWindowFrames()
self.updateColorByInputSource()
}.store(in: &cancellables)

setupWindows()
Expand Down

0 comments on commit b737b84

Please sign in to comment.