summaryrefslogtreecommitdiff
path: root/Sora/Views/MainView.swift
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-02-28 03:46:41 -0800
committerFuwn <[email protected]>2025-02-28 03:46:41 -0800
commit93fd5a0f53ab9dc30a04f758e17b5c7363f531fe (patch)
tree0a164c694668c26964332785295ab6e219e374e4 /Sora/Views/MainView.swift
parentfeat: Development commit (diff)
downloadsora-testing-93fd5a0f53ab9dc30a04f758e17b5c7363f531fe.tar.xz
sora-testing-93fd5a0f53ab9dc30a04f758e17b5c7363f531fe.zip
feat: Development commit
Diffstat (limited to 'Sora/Views/MainView.swift')
-rw-r--r--Sora/Views/MainView.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/Sora/Views/MainView.swift b/Sora/Views/MainView.swift
index 73eeed5..8ae607c 100644
--- a/Sora/Views/MainView.swift
+++ b/Sora/Views/MainView.swift
@@ -22,10 +22,10 @@ struct MainView: View {
@ViewBuilder private var platformSpecificContent: some View {
#if os(macOS)
- ContentView()
+ ContentView(selectedTab: $selectedTab)
#else
TabView(selection: $selectedTab) {
- ContentView()
+ ContentView(selectedTab: $selectedTab)
.tabItem { Label("Posts", systemImage: "rectangle.stack") }
.tag(0)