Merge branch 'feature/remove_mdn_dependency' into 'develop'
change mdn calculation See merge request BPHV_MIPS/mvm_core!188
This commit is contained in:
commit
1dcdc12919
@ -9,13 +9,6 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <CoreGraphics/CoreGraphics.h>
|
||||
|
||||
typedef NS_ENUM(NSInteger, MVMAppContext) {
|
||||
MVMAppContextNone = 0,
|
||||
MVMAppContextMF,
|
||||
MVMAppContextMFPrepay,
|
||||
MVMAppContextContentTransfer
|
||||
};
|
||||
|
||||
typedef NS_ENUM(NSInteger, NavigationType) {
|
||||
NavigationTypePush = 0,
|
||||
NavigationTypeSet,
|
||||
|
||||
@ -91,7 +91,9 @@
|
||||
NSString *type = [errorInfo string:KeyType];
|
||||
if (![ValueTypeSuccess isEqualToString:type]) {
|
||||
|
||||
MVMCoreErrorObject *error = [[MVMCoreErrorObject alloc] initWithTitle:[errorInfo stringForKey:KeyErrorHeading] message:[errorInfo stringForKey:KeyUserMessage] messageToLog:[errorInfo stringForKey:KeyMessage] code:errorCode domain:ErrorDomainServer location:location];
|
||||
NSString *title = [errorInfo string:KeyErrorHeading] ?: [MVMCoreGetterUtility hardcodedStringWithKey:HardcodedErrorTitle];
|
||||
NSString *message = [errorInfo string:KeyUserMessage] ?: [MVMCoreGetterUtility hardcodedStringWithKey:HardcodedErrorUnableToProcess];
|
||||
MVMCoreErrorObject *error = [[MVMCoreErrorObject alloc] initWithTitle:title message:message messageToLog:[errorInfo string:KeyMessage] code:errorCode domain:ErrorDomainServer location:location];
|
||||
if ([ValueTypeErrorScreen isEqualToString:type]) {
|
||||
|
||||
// If this is a server error screen, there should be no additional alerts... It will be handled by the load handler.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user