Reload in the background on edit
This commit is contained in:
parent
f0d0eb5ed3
commit
05ba654b2f
|
@ -223,10 +223,9 @@ class ShortcutsEditViewController: UITableViewController, INUIEditVoiceShortcutV
|
||||||
editedIndexPath = nil
|
editedIndexPath = nil
|
||||||
wrappers?[indexPath.row] = ShortcutWrapper.from(voiceShortcut)
|
wrappers?[indexPath.row] = ShortcutWrapper.from(voiceShortcut)
|
||||||
wrappers?.sort()
|
wrappers?.sort()
|
||||||
|
tableView.reloadData()
|
||||||
|
|
||||||
dismiss(animated: true) {
|
dismiss(animated: true)
|
||||||
self.tableView.reloadData()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func editVoiceShortcutViewController(_ controller: INUIEditVoiceShortcutViewController, didDeleteVoiceShortcutWithIdentifier deletedVoiceShortcutIdentifier: UUID) {
|
func editVoiceShortcutViewController(_ controller: INUIEditVoiceShortcutViewController, didDeleteVoiceShortcutWithIdentifier deletedVoiceShortcutIdentifier: UUID) {
|
||||||
|
|
Loading…
Reference in New Issue