Merge pull request #22 in BPHVB/mvm_core from release/6_4 to develop
* commit 'fa0c68ac6855cb2d57a294b203246f66447b9ec9': remove prefs
This commit is contained in:
commit
26c58182f7
@ -232,12 +232,7 @@ NSString * const KeyActionTypeOpen = @"openPage";
|
||||
NSString *type = [actionInformation string:KeyPageType];
|
||||
if ([@"location" isEqualToString:type] || [@"push" isEqualToString:type]) {
|
||||
[MVMCoreActionUtility linkAway:UIApplicationOpenSettingsURLString appURLString:nil];
|
||||
} else if ([@"airplaneMode" isEqualToString:type]) {
|
||||
|
||||
// Stopped working in iOS 10.
|
||||
[MVMCoreActionUtility linkAway:@"prefs:root=AIRPLANE_MODE" appURLString:nil];
|
||||
} else {
|
||||
|
||||
} else {
|
||||
// No known settings type
|
||||
MVMCoreErrorObject *error = [[MVMCoreErrorObject alloc] initWithTitle:[MVMCoreGetterUtility hardcodedStringWithKey:HardcodedErrorTitle] message:[MVMCoreGetterUtility hardcodedStringWithKey:HardcodedErrorUnableToProcess] code:ErrorCodeInvalidSettingType domain:ErrorDomainNative location:[NSString stringWithFormat:@"%@_%@",NSStringFromClass([delegate class]),KeyActionTypeSettings]];
|
||||
[self handleActionError:error actionInformation:actionInformation additionalData:additionalData delegate:delegate];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user