#71 Update Filter/Info to use AppStorage

This commit is contained in:
Matt Kiazyk 2021-01-23 14:22:23 -06:00
parent d834f3ed74
commit 8334e38a0a
No known key found for this signature in database
GPG key ID: 967DBC53389132D7

View file

@ -6,8 +6,8 @@ struct MainWindow: View {
@State private var selectedXcodeID: Xcode.ID?
@State private var searchText: String = ""
@AppStorage("lastUpdated") private var lastUpdated: Double?
@SceneStorage("isShowingInfoPane") private var isShowingInfoPane = false
@SceneStorage("xcodeListCategory") private var category: XcodeListCategory = .all
@AppStorage("isShowingInfoPane") private var isShowingInfoPane = false
@AppStorage("xcodeListCategory") private var category: XcodeListCategory = .all
var body: some View {
HSplitView {