Skip to content

Commit

Permalink
fix: 馃悰 [bcp: 0] fix ObjectItem bug in a widget view
Browse files Browse the repository at this point in the history
  • Loading branch information
shengxu7 committed Sep 21, 2023
1 parent 12759ee commit 4c3e275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/FioriSwiftUICore/Views/ObjectItem+View.swift
Expand Up @@ -165,7 +165,7 @@ extension ObjectItem: View {
} else {
self.makeRegularSingleActionView()
}
} else if horizontalSizeClass == .some(.compact) || splitPercent == nil {
} else if horizontalSizeClass == nil || horizontalSizeClass == .some(.compact) || splitPercent == nil {
// When only the headline label is used, everything in the cell is center aligned. Only 1 status can be used.
if isCenterAligned {
self.makeCompactOneLineView()
Expand Down

0 comments on commit 4c3e275

Please sign in to comment.