Skip to content

Commit

Permalink
Change placeholder and title text for OTP entry dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahimlawal committed Mar 29, 2019
1 parent 459b899 commit 918da9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Paystack/PSTCKAPIClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ - (void) requestAuth:(NSString * _Nonnull) url{
- (void) requestOtp:(NSString * _Nonnull) otpmessage{
[self notifyShowingDialog];
[self notifyBeforeValidate];
UIAlertController* tkalert = [UIAlertController alertControllerWithTitle:@"Enter OTP"
UIAlertController* tkalert = [UIAlertController alertControllerWithTitle:@"Authentication required"
message:otpmessage
preferredStyle:UIAlertControllerStyleAlert];

Expand All @@ -466,7 +466,7 @@ - (void) requestOtp:(NSString * _Nonnull) otpmessage{
}];

[tkalert addTextFieldWithConfigurationHandler:^(UITextField *textField) {
textField.placeholder = @"OTP";
textField.placeholder = @"_____";
textField.clearButtonMode = UITextFieldViewModeWhileEditing;
}];
[tkalert addAction:tkdefaultAction];
Expand Down

0 comments on commit 918da9b

Please sign in to comment.