commit bb640f0042285175ac1610a73a974c175c71a76f
parent 6820a558c0a032947e4f4d5918ecc6d7e8936ee9
Author: Marc Stibane <marc@taler.net>
Date: Tue, 26 Sep 2023 09:59:33 +0200
Link -> Button
Diffstat:
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/TalerWallet1/Views/Main/WalletEmptyView.swift b/TalerWallet1/Views/Main/WalletEmptyView.swift
@@ -16,15 +16,15 @@ struct WalletEmptyView: View {
List {
Section {
Text("There is no digital cash in your wallet.")
+ .accessibilityFont(.title3)
+ .listRowSeparator(.hidden)
+ Link("Get some test money", destination: URL(string: DEMOBANK)!)
+ .buttonStyle(TalerButtonStyle(type: .prominent, narrow: false, aligned: .center))
+ .padding(.vertical)
}
Section {
- Text("You can get some test money from the demo bank:")
- }
- Section {
- Link(DEMOBANK, destination: URL(string: DEMOBANK)!)
- }
- Section {
- Text("Just register a test account, then withdraw some electronic cash.")
+ Text("Just register a test account in the demo bank, then withdraw some electronic cash.")
+ .accessibilityFont(.body)
}
}
.listStyle(myListStyle.style).anyView