Merge branch 'feature/remove_mdn_dependency' into 'develop'

change mdn calculation

See merge request BPHV_MIPS/mvm_core!188
This commit is contained in:
Hedden, Kyle Matthew 2021-12-28 21:06:06 +00:00
commit 1dcdc12919
2 changed files with 3 additions and 8 deletions

View File

@ -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,

View File

@ -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.