From 0bd0e3ee9712315fc29b2e424bb76b7e99684ccc Mon Sep 17 00:00:00 2001 From: james Date: Thu, 23 May 2019 19:49:36 +0900 Subject: [PATCH] change localize code --- .../User Interface/View/SplashScreenViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GMERemittance/Module/SplashScreen/User Interface/View/SplashScreenViewController.swift b/GMERemittance/Module/SplashScreen/User Interface/View/SplashScreenViewController.swift index 388866a6..421049a8 100644 --- a/GMERemittance/Module/SplashScreen/User Interface/View/SplashScreenViewController.swift +++ b/GMERemittance/Module/SplashScreen/User Interface/View/SplashScreenViewController.swift @@ -56,7 +56,7 @@ class SplashScreenViewController: UIViewController { let code = Language.init(rawValue: selectedLanguage?.code ?? "en")?.code ?? "en" Localize.setCurrentLanguage(code) - UserDefaults.standard.set(code, forKey: AppConstants.firstTimeLanguageIsSet) + UserDefaults.standard.set(selectedLanguage?.code ?? "en", forKey: AppConstants.firstTimeLanguageIsSet) setText()