feat: fix detail
This commit is contained in:
@@ -14,9 +14,14 @@ struct CookieInputView: View {
|
||||
}
|
||||
|
||||
Section("Cookie") {
|
||||
#if os(tvOS)
|
||||
TextField("粘贴 Cookie...", text: $cookieText)
|
||||
.font(.system(.body, design: .monospaced))
|
||||
#else
|
||||
TextEditor(text: $cookieText)
|
||||
.font(.system(.body, design: .monospaced))
|
||||
.frame(minHeight: 120)
|
||||
#endif
|
||||
}
|
||||
|
||||
Section {
|
||||
|
||||
@@ -93,6 +93,7 @@ struct AppNavigation: View {
|
||||
}
|
||||
}
|
||||
|
||||
#if !os(tvOS)
|
||||
private var sidebarLayout: some View {
|
||||
NavigationSplitView {
|
||||
List(AppTab.visibleTabs, selection: $selectedTab) { tab in
|
||||
@@ -106,6 +107,7 @@ struct AppNavigation: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
@ViewBuilder
|
||||
private func tabContent(for tab: AppTab) -> some View {
|
||||
|
||||
Reference in New Issue
Block a user