mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Removing Dead Code part 1 (#2234)
This commit is contained in:
@@ -45,6 +45,6 @@ public extension Animation {
|
||||
/// - Parameters:
|
||||
/// - animation: Animation
|
||||
/// - body: operations to be animated
|
||||
public func withElementAnimation<Result>(_ animation: Animation? = .default, _ body: () throws -> Result) rethrows -> Result {
|
||||
func withElementAnimation<Result>(_ animation: Animation? = .default, _ body: () throws -> Result) rethrows -> Result {
|
||||
try withAnimation(animation?.disabledDuringTests(), body)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user