Skip to content

Commit

Permalink
Fix line limit in Text Style
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiLT committed Sep 27, 2022
1 parent aaa2b4e commit 70cada4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MasMagicPills.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'MasMagicPills'
s.version = '3.0.16'
s.version = '3.0.17'
s.swift_version = '5.0'
s.summary = 'Set of powerful utilities 💊.'

Expand Down
2 changes: 1 addition & 1 deletion Source/SwiftUI/Extensions/TextStyleModifier.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import SwiftUI
public extension Text {
func textStyle(_ textStyle: TextStyle, lineLimit: Int? = nil) -> some View {
self.tracking(textStyle.letterSpacing ?? 0)
.modifier(TextWithStyle(textStyle))
.modifier(TextWithStyle(textStyle, lineLimit: lineLimit))
}
}

Expand Down

0 comments on commit 70cada4

Please sign in to comment.