Prepare for selection of items

Update MainView.swift
This commit is contained in:
Christoph Hagen
2025-01-18 09:56:42 +01:00
parent e0787f991e
commit 1d4b3c266c
3 changed files with 66 additions and 52 deletions

View File

@ -0,0 +1,22 @@
import Foundation
final class SelectedContent: ObservableObject {
@Published
var tab: MainViewTab = .posts
@Published
var post: Post?
@Published
var page: Page?
@Published
var tag: Tag?
@Published
var file: FileResource?
@Published
var section: SettingsSection = .folders
}