diff --git a/client/ios/LayoutKit/LayoutKit/Blocks/SwipeContainerBlock.swift b/client/ios/LayoutKit/LayoutKit/Blocks/SwipeContainerBlock.swift index 3b76b0dd5..4bed1926a 100644 --- a/client/ios/LayoutKit/LayoutKit/Blocks/SwipeContainerBlock.swift +++ b/client/ios/LayoutKit/LayoutKit/Blocks/SwipeContainerBlock.swift @@ -8,8 +8,6 @@ public final class SwipeContainerBlock: WrapperBlock { case right case left - public static let prefersAnimatedChanges = true - public static let `default` = State.normal } diff --git a/client/ios/LayoutKit/LayoutKit/UI/Blocks/ElementState.swift b/client/ios/LayoutKit/LayoutKit/UI/Blocks/ElementState.swift index 6e2d42d14..481d49ed3 100644 --- a/client/ios/LayoutKit/LayoutKit/UI/Blocks/ElementState.swift +++ b/client/ios/LayoutKit/LayoutKit/UI/Blocks/ElementState.swift @@ -2,15 +2,7 @@ import Foundation import LayoutKitInterface -public protocol ElementState { - static var prefersAnimatedChanges: Bool { get } - static var shouldUpdateUi: Bool { get } -} - -extension ElementState { - public static var prefersAnimatedChanges: Bool { false } - public static var shouldUpdateUi: Bool { true } -} +public protocol ElementState {} public typealias BlocksState = [UIElementPath: ElementState]