Skip to content

Commit

Permalink
Fix subtitle occupying multiple lines when there is available width o…
Browse files Browse the repository at this point in the history
…n the left (#672)
  • Loading branch information
mohamede1945 authored Sep 29, 2024
1 parent 2e0f5f4 commit 84bd725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/NoorUI/Components/MultipartText.swift
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ private struct MultiPartTextView: View {
@ViewBuilder
private func wrap(@ViewBuilder content: () -> some View) -> some View {
if #available(iOS 16.0, *) {
WrappingHStack(alignment: alignment, horizontalSpacing: 0) {
WrappingHStack(alignment: alignment, horizontalSpacing: 0, fitContentWidth: true) {
content()
}
} else {
Expand Down

0 comments on commit 84bd725

Please sign in to comment.