Skip to content

Commit 918da9b

Browse files
committed
Change placeholder and title text for OTP entry dialog
1 parent 459b899 commit 918da9b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Paystack/PSTCKAPIClient.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ - (void) requestAuth:(NSString * _Nonnull) url{
444444
- (void) requestOtp:(NSString * _Nonnull) otpmessage{
445445
[self notifyShowingDialog];
446446
[self notifyBeforeValidate];
447-
UIAlertController* tkalert = [UIAlertController alertControllerWithTitle:@"Enter OTP"
447+
UIAlertController* tkalert = [UIAlertController alertControllerWithTitle:@"Authentication required"
448448
message:otpmessage
449449
preferredStyle:UIAlertControllerStyleAlert];
450450

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

468468
[tkalert addTextFieldWithConfigurationHandler:^(UITextField *textField) {
469-
textField.placeholder = @"OTP";
469+
textField.placeholder = @"_____";
470470
textField.clearButtonMode = UITextFieldViewModeWhileEditing;
471471
}];
472472
[tkalert addAction:tkdefaultAction];

0 commit comments

Comments
 (0)