diff options
author | Shav Kinderlehrer <[email protected]> | 2023-12-15 10:41:00 -0500 |
---|---|---|
committer | Shav Kinderlehrer <[email protected]> | 2023-12-15 10:41:00 -0500 |
commit | 2e3c12fed339c8bf3dc966217cbdf4c385fb98a1 (patch) | |
tree | 356a0bbfd24f98bf04545eb876cf20cd6179850e /Jel/Views/Utility/ConsoleSheetView.swift | |
parent | 3994a6f408905049a5c280a303e30fe636b07968 (diff) | |
download | jel-2e3c12fed339c8bf3dc966217cbdf4c385fb98a1.tar.gz jel-2e3c12fed339c8bf3dc966217cbdf4c385fb98a1.zip |
Add settings view + fix signin flow
Diffstat (limited to 'Jel/Views/Utility/ConsoleSheetView.swift')
-rw-r--r-- | Jel/Views/Utility/ConsoleSheetView.swift | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Jel/Views/Utility/ConsoleSheetView.swift b/Jel/Views/Utility/ConsoleSheetView.swift new file mode 100644 index 0000000..a047315 --- /dev/null +++ b/Jel/Views/Utility/ConsoleSheetView.swift @@ -0,0 +1,35 @@ +// +// 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)) +} |