mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-02-15 20:32:07 +00:00
Wrap rather than truncate long profile names (#1150)
Better trade-off than the fixed list/grid height now that the animations are off. https://www.reddit.com/r/passepartout/comments/1ik8tm2/comment/mbn1o1h/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
This commit is contained in:
parent
ce77b4fc6a
commit
18c2b85096
@ -90,7 +90,7 @@ private extension InstalledProfileView {
|
||||
Text(profile?.name ?? Strings.Views.App.InstalledProfile.None.name)
|
||||
.font(.title2)
|
||||
.fontWeight(theme.relevantWeight)
|
||||
.themeTruncating(.tail)
|
||||
.themeMultiLine(true)
|
||||
}
|
||||
|
||||
var statusView: some View {
|
||||
|
@ -51,7 +51,7 @@ struct ProfileCardView: View {
|
||||
} label: {
|
||||
Text(preview.name)
|
||||
.font(.headline)
|
||||
.themeTruncating()
|
||||
.themeMultiLine(true)
|
||||
}
|
||||
tunnelView
|
||||
.font(.subheadline)
|
||||
|
Loading…
Reference in New Issue
Block a user