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