VKPinCodeView icon indicating copy to clipboard operation
VKPinCodeView copied to clipboard

Delay with animation of securing text

Open msbouchedid opened this issue 5 years ago • 1 comments

Can we make the 500 milliseconds configurable??

// secure text after a bit DispatchQueue.main.asyncAfter(deadline: .now() + .milliseconds(500), execute: { if !(textField.text?.isEmpty ?? true) { placeholderLabel.isHidden = true if self.shouldSecureText { textField.text = self.secureCharacter } } })

msbouchedid avatar Apr 16 '20 18:04 msbouchedid

@msbouchedid Hi, sorry for some delay with answer, yes we can do that.

Sunspension avatar Sep 07 '20 20:09 Sunspension