|
|
@ -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) |
|
|
|
} |
|
|
|