Various fixes

This commit is contained in:
Ilya Laktyushin
2024-12-28 23:06:41 +04:00
parent 7efcdb4b8e
commit 3bbb677b0d
8 changed files with 14 additions and 44 deletions

View File

@@ -557,6 +557,7 @@ public final class ButtonComponent: Component {
} else {
shimmeringTransition = .immediate
shimmeringView = ButtonShimmeringView(frame: .zero)
self.shimmeringView = shimmeringView
self.insertSubview(shimmeringView, at: 0)
}
shimmeringView.update(size: availableSize, background: component.background, cornerRadius: component.background.cornerRadius, transition: shimmeringTransition)