taler-ios

iOS apps for GNU Taler (wallet)
Log | Files | Refs | README | LICENSE

commit 4e0543da665445ebde4a87b2fee20ada1648f3bc
parent 4ec8312dad5dc0002ab9c2e33d30da9e81a3cad2
Author: Marc Stibane <marc@taler.net>
Date:   Wed,  1 Apr 2026 23:16:32 +0200

remove line limit for subject, smaller font

Diffstat:
MTalerWallet1/Views/HelperViews/SubjectInputV.swift | 5+++--
MTalerWallet1/Views/Transactions/ThreeAmountsSection.swift | 2+-
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/TalerWallet1/Views/HelperViews/SubjectInputV.swift b/TalerWallet1/Views/HelperViews/SubjectInputV.swift @@ -58,11 +58,11 @@ struct SubjectInputV<TargetView: View>: View { .focused($isFocused) .lineLimit(2...) } else { - TextField("Subject", text: $summary) + TextField(minimalistic ? "Subject" : EMPTYSTRING, text: $summary) .focused($isFocused) // .lineLimit(2...5) // lineLimit' is only available in iOS 16.0 or newer } } // Group for iOS16+ & iOS15 - .talerFont(.title2) + .talerFont(.title3) .foregroundColor(WalletColors().fieldForeground) // text color .background(WalletColors().fieldBackground) .textFieldStyle(.roundedBorder) @@ -96,6 +96,7 @@ struct SubjectInputV<TargetView: View>: View { .buttonStyle(TalerButtonStyle(type: .prominent, disabled: disabled)) .disabled(disabled) // .accessibility(sortPriority: 0) + .padding(.bottom, 333) }.padding(.horizontal) } // ScrollVStack .navigationTitle(navTitle) // .ignoresSafeArea(.keyboard, edges: .bottom) diff --git a/TalerWallet1/Views/Transactions/ThreeAmountsSection.swift b/TalerWallet1/Views/Transactions/ThreeAmountsSection.swift @@ -167,7 +167,7 @@ struct ThreeAmountsSection: View { if productImages.isEmpty { Text(summary) .talerFont(.title3) - .lineLimit(4) +// .lineLimit(9) // TODO: remove completely? .padding(.bottom) } }