-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite Game List in SwiftUI #40
base: master
Are you sure you want to change the base?
Conversation
Text(game.about ?? "") | ||
.font(.subheadline) | ||
.frame(maxWidth: .infinity, alignment: .leading) | ||
.padding(EdgeInsets(top: 0, leading: 22, bottom: 8, trailing: 22)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can help with text getting truncated:
Text(content)
.fixedSize(horizontal: false, vertical: true)
.frame(maxWidth: .infinity, alignment: .leading)
.font(.subheadline)
.padding(EdgeInsets(top: 0, leading: 22, bottom: 8, trailing: 22))
Unfortunately because we want to support iOS 13& 14 I have a feeling SwiftUI is a no go for this project for a while. |
Backing up a little, iOS 13 support doesn't mean no Swift UI, it just means not as great iOS 13-era SwiftUI. So using SwiftUI is still an option... just more complicated now probably. |
Kinda just for fun