|
@@ -65,7 +65,6 @@ typedef NS_ENUM(NSUInteger, VLCNetworkServerLoginIndex) {
|
|
|
NSString *labelString = nil;
|
|
|
NSString *valueString = nil;
|
|
|
UIReturnKeyType returnKeyType = UIReturnKeyNext;
|
|
|
- UITextAutocapitalizationType autocapitalizationType = UITextAutocapitalizationTypeSentences;
|
|
|
switch (row) {
|
|
|
case VLCNetworkServerLoginIndexServer:
|
|
|
keyboardType = UIKeyboardTypeURL;
|
|
@@ -79,7 +78,6 @@ typedef NS_ENUM(NSUInteger, VLCNetworkServerLoginIndex) {
|
|
|
break;
|
|
|
case VLCNetworkServerLoginIndexUsername:
|
|
|
labelString = NSLocalizedString(@"USER_LABEL", nil);
|
|
|
- autocapitalizationType = UITextAutocapitalizationTypeNone;
|
|
|
valueString = self.loginInformation.username;
|
|
|
break;
|
|
|
case VLCNetworkServerLoginIndexPassword:
|
|
@@ -107,7 +105,7 @@ typedef NS_ENUM(NSUInteger, VLCNetworkServerLoginIndex) {
|
|
|
fieldCell.placeholderString = labelString;
|
|
|
UITextField *textField = fieldCell.textField;
|
|
|
textField.autocorrectionType = UITextAutocorrectionTypeNo;
|
|
|
- textField.autocapitalizationType = autocapitalizationType;
|
|
|
+ textField.autocapitalizationType = UITextAutocapitalizationTypeNone;
|
|
|
textField.text = valueString;
|
|
|
textField.keyboardType = keyboardType;
|
|
|
textField.secureTextEntry = secureTextEntry;
|