BF: Ban and kick reasons are silently discarded

#2162

Fix Steve's remark everywhere we do `[self->currentAlert textFields].firstObject.text`
This commit is contained in:
manuroe
2019-01-23 11:01:53 +01:00
parent c8ef76e3c4
commit b9c30cba0e
6 changed files with 13 additions and 16 deletions
@@ -773,8 +773,7 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)(void);
{
typeof(self) self = weakSelf;
UITextField *textField = [self->currentAlert textFields].firstObject;
NSString *smsCode = textField.text;
NSString *smsCode = [self->currentAlert textFields].firstObject.text;
self->currentAlert = nil;