Reformat code

This commit is contained in:
世界
2026-02-08 18:23:42 +08:00
parent f765bf1e3b
commit a86dfc26d1
42 changed files with 163 additions and 98 deletions
+1 -2
View File
@@ -29,8 +29,7 @@ class ApplicationDelegate: NSObject, UIApplicationDelegate, UNUserNotificationCe
],
intentIdentifiers: []
),
]
)
])
notificationCenter.delegate = self
setup()
return true
-3
View File
@@ -57,7 +57,6 @@ struct MainView: View {
}
}
@ViewBuilder
private var baseTabView: some View {
tabView(showsBottomAccessory: false)
}
@@ -66,7 +65,6 @@ struct MainView: View {
tabView(showsBottomAccessory: shouldShowBottomAccessory)
}
@ViewBuilder
private func tabView(showsBottomAccessory: Bool) -> some View {
TabView(selection: $selection) {
ForEach(NavigationPage.allCases, id: \.self) { page in
@@ -95,7 +93,6 @@ struct MainView: View {
}
}
@ViewBuilder
private func tabBarBackgroundIfAvailable(_ content: some View) -> some View {
content
}