Issue #782

Use $ to access Publisher

final class Store: ObservableObject {
    @Published var showsSideWindow: Bool = false
}
var anyCancellables = Set<AnyCancellable>()

store.$showsSideWindow
    .removeDuplicates()
    .throttle(for: 0.2, scheduler: RunLoop.main, latest: true)
    .receive(on: RunLoop.main)
    .sink(receiveValue: { shows in
        preferenceManager.reloadPosition(shows: shows)
    })
    .store(in: &anyCancellables)