mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-23 16:20:53 +01:00
0a51508abf
Bindings are passed instead and this fixes issues with Add Web (etc) only appearing once.
22 lines
496 B
Swift
22 lines
496 B
Swift
//
|
|
// SceneNavigationModel.swift
|
|
// NetNewsWire
|
|
//
|
|
// Created by Stuart Breckenridge on 13/8/20.
|
|
// Copyright © 2020 Ranchero Software. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
|
|
class SceneNavigationModel: ObservableObject {
|
|
@Published var sheetToShow: SidebarSheets = .none {
|
|
didSet {
|
|
sheetToShow != .none ? (showSheet = true) : (showSheet = false)
|
|
}
|
|
}
|
|
@Published var showSheet = false
|
|
@Published var showShareSheet = false
|
|
@Published var showAccountSyncErrorAlert = false
|
|
}
|