Browse Source

bug fixed

pull/1/head
gme_2 6 years ago
parent
commit
f4ef9952c2
  1. 6
      GMERemittance/Module/SplashScreen/User Interface/View/SplashScreenViewController.swift

6
GMERemittance/Module/SplashScreen/User Interface/View/SplashScreenViewController.swift

@ -55,9 +55,8 @@ class SplashScreenViewController: UIViewController {
var languages: [SendMoneyCountryViewModel] = []
var selectedLanguage: SendMoneyCountryViewModel? {
didSet {
self.timer?.invalidate()
let code = selectedLanguage?.code ?? "en"
let code = selectedLanguage?.code ?? "en"
if code == "lk" {
Localize.setCurrentLanguage("si")
}else
@ -83,9 +82,6 @@ class SplashScreenViewController: UIViewController {
Localize.setCurrentLanguage("ne")
}
if code == "ru" {
Localize.setCurrentLanguage("ru-RU")
}
else {
Localize.setCurrentLanguage(code)
}

Loading…
Cancel
Save