From bdb87523bef77a5c4cfb4007a7c829136c0fda80 Mon Sep 17 00:00:00 2001 From: Peter Date: Fri, 14 Sep 2018 17:29:49 +0300 Subject: [PATCH] no message --- TelegramUI/SecureIdDocumentFormControllerNode.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/TelegramUI/SecureIdDocumentFormControllerNode.swift b/TelegramUI/SecureIdDocumentFormControllerNode.swift index a7b96a628a..b239f42041 100644 --- a/TelegramUI/SecureIdDocumentFormControllerNode.swift +++ b/TelegramUI/SecureIdDocumentFormControllerNode.swift @@ -2177,6 +2177,9 @@ final class SecureIdDocumentFormControllerNode: FormControllerNode 20 { + innerState.documents = Array(innerState.documents[0 ..< 20]) + } case .selfie: loop: for resource in resources { let id = arc4random64() @@ -2200,6 +2203,9 @@ final class SecureIdDocumentFormControllerNode: FormControllerNode 20 { + innerState.translations = Array(innerState.documents[0 ..< 20]) + } } if let recognizedData = recognizedData { switch innerState.documentState {