mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
update swiftformat, add organize rule
commit_hash:0f7ba811b37db6d2a9fc05efe5f94502feda4856
This commit is contained in:
@@ -19,8 +19,6 @@ final class AnimationBlockView: BlockView {
|
||||
}
|
||||
}
|
||||
|
||||
private var animationRequest: Cancellable?
|
||||
|
||||
var isPlaying: Bool = true {
|
||||
didSet {
|
||||
guard oldValue != isPlaying else { return }
|
||||
@@ -57,21 +55,24 @@ final class AnimationBlockView: BlockView {
|
||||
}
|
||||
}
|
||||
|
||||
let effectiveBackgroundColor: UIColor? = nil
|
||||
|
||||
private var animationRequest: Cancellable?
|
||||
|
||||
init() {
|
||||
super.init(frame: .zero)
|
||||
}
|
||||
|
||||
override func layoutSubviews() {
|
||||
super.layoutSubviews()
|
||||
animatableView?.frame = bounds
|
||||
}
|
||||
|
||||
@available(*, unavailable)
|
||||
required init?(coder _: NSCoder) {
|
||||
fatalError("init(coder:) has not been implemented")
|
||||
}
|
||||
|
||||
let effectiveBackgroundColor: UIColor? = nil
|
||||
override func layoutSubviews() {
|
||||
super.layoutSubviews()
|
||||
animatableView?.frame = bounds
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
extension AnimationBlockView: VisibleBoundsTrackingLeaf {}
|
||||
|
||||
Reference in New Issue
Block a user