mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-06 07:37:40 +00:00
make possible to view info on the selected lexical model
This commit is contained in:
parent
3508d4d45c
commit
69d7a02c5e
1 changed files with 3 additions and 3 deletions
|
|
@ -176,7 +176,7 @@ class LexicalModelPickerViewController: UITableViewController, UIAlertViewDelega
|
|||
if Manager.shared.currentLexicalModelID == lm.fullID {
|
||||
cell.selectionStyle = .blue
|
||||
cell.isSelected = true
|
||||
cell.accessoryType = .checkmark
|
||||
cell.accessoryType = .detailDisclosureButton
|
||||
} else {
|
||||
cell.selectionStyle = .none
|
||||
cell.isSelected = false
|
||||
|
|
@ -388,8 +388,8 @@ class LexicalModelPickerViewController: UITableViewController, UIAlertViewDelega
|
|||
}
|
||||
|
||||
private func scroll(toSelectedLexicalModel animated: Bool) {
|
||||
let index = userLexicalModels.index { kb in
|
||||
return Manager.shared.currentLexicalModelID == kb.fullID
|
||||
let index = userLexicalModels.index { lm in
|
||||
return Manager.shared.currentLexicalModelID == lm.fullID
|
||||
}
|
||||
|
||||
if let index = index {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue