gemenon

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

commit 647c341494b2af5ac24ea5db7fab9f9ff40b77fc
parent 7f32dad93ecbce906f16c925c0261b5c380d7e41
Author: FIGBERT <figbert@figbert.com>
Date:   Sun, 16 Oct 2022 23:39:39 -0700

Use labels instead of images in toolbar

Diffstat:
MShared/ContentView.swift | 9++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/Shared/ContentView.swift b/Shared/ContentView.swift @@ -77,18 +77,21 @@ struct ContentView: View { } ToolbarItem(placement: .navigation) { Button(action: { data.goToStartPage() }) { - Image(systemName: "house") + Label("Go to Start Page", systemImage: "house") + .labelStyle(.iconOnly) } } ToolbarItem(placement: .navigation) { Button(action: { data.goBack() }) { - Image(systemName: "chevron.backward") + Label("Back", systemImage: "chevron.backward") + .labelStyle(.iconOnly) } .disabled(data.tab.prev == nil) } ToolbarItem(placement: .navigation) { Button(action: { data.goForward() }) { - Image(systemName: "chevron.forward") + Label("Forward", systemImage: "chevron.forward") + .labelStyle(.iconOnly) } .disabled(data.tab.next == nil) }