Drop truncation hack
This commit is contained in:
parent
83cdd460e4
commit
02213a7c50
|
@ -518,7 +518,7 @@ extension View {
|
|||
// MARK: Hacks
|
||||
|
||||
extension View {
|
||||
// @available(*, deprecated, message: "mitigates multiline text truncation (1.0 does not work though)")
|
||||
@available(*, deprecated, message: "mitigates multiline text truncation (1.0 does not work though)")
|
||||
func xxxThemeTruncation() -> some View {
|
||||
minimumScaleFactor(0.5)
|
||||
}
|
||||
|
|
|
@ -105,7 +105,6 @@ struct DonateView: View {
|
|||
Text(L10n.Donate.Sections.OneTime.header)
|
||||
} footer: {
|
||||
Text(L10n.Donate.Sections.OneTime.footer)
|
||||
.xxxThemeTruncation()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -273,7 +273,6 @@ private struct PurchaseRow: View {
|
|||
extra.map {
|
||||
Text($0)
|
||||
.frame(maxHeight: .infinity)
|
||||
// .xxxThemeTruncation()
|
||||
}
|
||||
}.padding([.top, .bottom])
|
||||
}
|
||||
|
|
|
@ -49,7 +49,6 @@ extension ProfileView {
|
|||
Text(Unlocalized.VPN.vpn)
|
||||
} footer: {
|
||||
Text(L10n.Profile.Sections.Vpn.footer)
|
||||
.xxxThemeTruncation()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue