diff options
Diffstat (limited to 'iGopherBrowser/SidebarView.swift')
-rw-r--r-- | iGopherBrowser/SidebarView.swift | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/iGopherBrowser/SidebarView.swift b/iGopherBrowser/SidebarView.swift index 61c1360..301f45e 100644 --- a/iGopherBrowser/SidebarView.swift +++ b/iGopherBrowser/SidebarView.swift @@ -13,11 +13,14 @@ struct SidebarView: View { var onSelect: (GopherNode) -> Void var body: some View { - List(hosts, children: \.children) { node in - Text(node.message ?? node.host) - .onTapGesture { - onSelect(node) - } + VStack { + List(hosts, children: \.children) { node in + Text(node.message ?? node.host) + .onTapGesture { + onSelect(node) + } } + } + .navigationTitle("Your Gophertree") } } |