Text("Text that is getting ...-ed").unfuckText()
Created
April 2, 2023 23:31
-
-
Save jamesporter/4671571c48746ec2a28482af47fb5e93 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
extension View { | |
func unfuckText() -> some View { | |
fixedSize(horizontal: false, vertical: true) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment