Reduce layerBacked usage

Improved shuffling
This commit is contained in:
Peter Iakovlev
2018-11-16 15:57:13 +04:00
parent c6efba1178
commit 9bd9327502
123 changed files with 438 additions and 296 deletions

View File

@@ -652,4 +652,10 @@ public final class AuthorizationSequenceController: NavigationController {
self.topViewController?.view.layer.animateAlpha(from: 0.0, to: 1.0, duration: 0.3)
}
}
public func applyConfirmationCode(_ code: Int) {
if let controller = self.viewControllers.last as? AuthorizationSequenceCodeEntryController {
controller.applyConfirmationCode(code)
}
}
}