gemenon

[ACTIVE] The Safari of the Gemini ecosystem
git clone git://git.figbert.com/gemenon.git
Log | Files | Refs

commit f8b32b7d0b4fb001571c37d89f4b03e6a186bbb1
parent a43707a89450582fa665374d71bc943cd2406308
Author: FIGBERT <figbert@figbert.com>
Date:   Sat,  3 Sep 2022 14:12:09 -0700

Wrap content in a ScrollView

Diffstat:
MShared/ContentView.swift | 8+++++++-
MShared/GemenonApp.swift | 1-
2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/Shared/ContentView.swift b/Shared/ContentView.swift @@ -20,7 +20,13 @@ struct ContentView: View { NavigationSplitView(columnVisibility: $columnVisibility) { Text("bookmarks") } detail: { - Text(response?.body?.gemtext ?? "oops") + ScrollView { + HStack { + Spacer() + Text(response?.body?.gemtext ?? "oops") + Spacer() + } + } } .toolbar { ToolbarItem(placement: .principal) { diff --git a/Shared/GemenonApp.swift b/Shared/GemenonApp.swift @@ -13,6 +13,5 @@ struct GemenonApp: App { WindowGroup { ContentView() } - .windowStyle(.hiddenTitleBar) } }