Vasilis

setLang added

This diff is collapsed. Click to expand it.
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
13 13
14 + (void)init:(NSDictionary *)launchOptions uuid:(NSString*)uuid merchantId:(NSString*)merchantId lang:(NSString*)lang; 14 + (void)init:(NSDictionary *)launchOptions uuid:(NSString*)uuid merchantId:(NSString*)merchantId lang:(NSString*)lang;
15 - (void) setToStage; 15 - (void) setToStage;
16 +- (void) setLang:(NSString*) lang;
16 - (UIViewController *) openProfile:(UIViewController*)controller :(UIWindow*) window; 17 - (UIViewController *) openProfile:(UIViewController*)controller :(UIWindow*) window;
17 - (void) applicationDidEnterBackground:(UIApplication *)application; 18 - (void) applicationDidEnterBackground:(UIApplication *)application;
18 - (void) applicationWillEnterForeground:(UIApplication *)application; 19 - (void) applicationWillEnterForeground:(UIApplication *)application;
......
...@@ -36,6 +36,10 @@ NSString *LANG; ...@@ -36,6 +36,10 @@ NSString *LANG;
36 WARP_ERROR_DOMAIN = @"engage-stage.warp.ly"; 36 WARP_ERROR_DOMAIN = @"engage-stage.warp.ly";
37 } 37 }
38 38
39 +- (void) setLang:(NSString*) lang {
40 + LANG = lang;
41 +}
42 +
39 - (UIViewController *) openProfile:(UIViewController*)controller :(UIWindow*) window { 43 - (UIViewController *) openProfile:(UIViewController*)controller :(UIWindow*) window {
40 44
41 UIViewController *profileViewController = [ProfileViewInterface profileViewController]; 45 UIViewController *profileViewController = [ProfileViewInterface profileViewController];
......