Line limit
This commit is contained in:
parent
4fa3c6a911
commit
889ad07a03
|
@ -0,0 +1,3 @@
|
||||||
|
// Made by Lumaa
|
||||||
|
|
||||||
|
import Foundation
|
|
@ -79,6 +79,7 @@ extension View {
|
||||||
func accountRowLabel(_ foreground: Color) -> some View {
|
func accountRowLabel(_ foreground: Color) -> some View {
|
||||||
self
|
self
|
||||||
.multilineTextAlignment(.leading)
|
.multilineTextAlignment(.leading)
|
||||||
|
.lineLimit(1)
|
||||||
.font(.headline.bold().width(.condensed))
|
.font(.headline.bold().width(.condensed))
|
||||||
.foregroundStyle(foreground)
|
.foregroundStyle(foreground)
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
|
@ -0,0 +1,13 @@
|
||||||
|
// Made by Lumaa
|
||||||
|
|
||||||
|
import SwiftUI
|
||||||
|
|
||||||
|
struct AboutSubclubView: View {
|
||||||
|
var body: some View {
|
||||||
|
Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#Preview {
|
||||||
|
AboutSubclubView()
|
||||||
|
}
|
Loading…
Reference in New Issue