Skip to content

Commit fd8211a

Browse files
committed
Fixed method call.
1 parent 9666aed commit fd8211a

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Sources/NativeUIKit/Views/NativePlaceholderView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ open class PlaceholderView: SPButton {
123123
open func layoutCenter() {
124124
guard let superview = self.superview else { return }
125125
let width = min(superview.readableWidth, NativeLayout.Sizes.actionable_area_maximum_width)
126-
frame.setWidthAndFit(width: width)
126+
setWidthAndFit(width: width)
127127
superview.setXCenter()
128128
center.y = (superview.frame.height / 2) * 0.94
129129
}

0 commit comments

Comments
 (0)