Merge pull request #310 from James-Sangalli/fix-wrong-locale-value-used

Fix: wrong value used to trigger app UI restart when locale is changed
pull/313/head
James Sangalli 7 years ago committed by GitHub
commit 3d7c77436b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Trust/Settings/ViewControllers/AdvancedSettingsViewController.swift

@ -87,7 +87,7 @@ class AdvancedSettingsViewController: FormViewController {
}
}.onChange {[weak self] row in
self?.config.locale = row.value?.id
self?.run(action: .RPCServer)
self?.run(action: .locale)
}.cellSetup { cell, _ in
cell.imageView?.tintColor = Colors.appBackground
cell.imageView?.image = R.image.settings_language()?.withRenderingMode(.alwaysTemplate)

Loading…
Cancel
Save