diff --git a/submodules/PhotoResources/Sources/PhotoResources.swift b/submodules/PhotoResources/Sources/PhotoResources.swift index 04b5f8dbd4..cfe948a294 100644 --- a/submodules/PhotoResources/Sources/PhotoResources.swift +++ b/submodules/PhotoResources/Sources/PhotoResources.swift @@ -2185,7 +2185,7 @@ public func chatSecretMessageVideo(account: Account, userLocation: MediaResource } } - if arguments.corners.topLeft > 40.0 { + if arguments.corners.topLeft.radius > 40.0 { } else { addCorners(context, arguments: arguments) }