From 62a8e5704edb604d41af34df7607adf6492ca855 Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Fri, 15 Dec 2023 11:06:36 -0500 Subject: Add blurHash + send passthrough to JellyfinClientController --- Jel/Views/Dashboard/Library/LibraryIconView.swift | 18 ++++++++++++ Jel/Views/Settings/SettingsView.swift | 4 ++- Jel/Views/Utility/ConsoleSheetView.swift | 35 ----------------------- 3 files changed, 21 insertions(+), 36 deletions(-) create mode 100644 Jel/Views/Dashboard/Library/LibraryIconView.swift delete mode 100644 Jel/Views/Utility/ConsoleSheetView.swift (limited to 'Jel/Views') diff --git a/Jel/Views/Dashboard/Library/LibraryIconView.swift b/Jel/Views/Dashboard/Library/LibraryIconView.swift new file mode 100644 index 0000000..4f6c711 --- /dev/null +++ b/Jel/Views/Dashboard/Library/LibraryIconView.swift @@ -0,0 +1,18 @@ +// +// LibraryIconView.swift +// Jel +// +// Created by zerocool on 12/15/23. +// + +import SwiftUI + +struct LibraryIconView: View { + var body: some View { + Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/) + } +} + +#Preview { + LibraryIconView() +} diff --git a/Jel/Views/Settings/SettingsView.swift b/Jel/Views/Settings/SettingsView.swift index 6eaa2e2..676b977 100644 --- a/Jel/Views/Settings/SettingsView.swift +++ b/Jel/Views/Settings/SettingsView.swift @@ -17,8 +17,10 @@ struct SettingsView: View { var body: some View { NavigationStack { Form { - Section { + Section() { AppearancePicker() + } header: { + Text("Accessibility") } Section { diff --git a/Jel/Views/Utility/ConsoleSheetView.swift b/Jel/Views/Utility/ConsoleSheetView.swift deleted file mode 100644 index a047315..0000000 --- a/Jel/Views/Utility/ConsoleSheetView.swift +++ /dev/null @@ -1,35 +0,0 @@ -// -// ConsoleSheetView.swift -// Jel -// -// Created by zerocool on 12/12/23. -// - -import SwiftUI -import PulseUI - -struct ConsoleSheetView: View { - @Binding var showingConsoleSheet: Bool - - var body: some View { - NavigationStack { - ConsoleView() - .closeButtonHidden() - .navigationTitle("Debug consoles") - .toolbar { - ToolbarItem { - Button { - showingConsoleSheet.toggle() - } label: { - Text("Done") - .bold() - } - } - } - } - } -} - -#Preview { - ConsoleSheetView(showingConsoleSheet: .constant(true)) -} -- cgit v1.2.3