Fix rows from being deselected when back button is pressed
This commit is contained in:
parent
95f46ee335
commit
decb5a46b8
|
@ -55,6 +55,8 @@ class ConversationViewController: UIViewController, UITableViewDataSource, UITab
|
|||
}
|
||||
|
||||
override func viewWillAppear(_ animated: Bool) {
|
||||
super.viewWillAppear(animated)
|
||||
|
||||
for cell in tableView.visibleCells {
|
||||
if let cell = cell as? PreferencesAdaptive {
|
||||
cell.updateUIForPreferences()
|
||||
|
|
|
@ -56,6 +56,8 @@ class ProfileTableViewController: UITableViewController, PreferencesAdaptive {
|
|||
}
|
||||
|
||||
override func viewWillAppear(_ animated: Bool) {
|
||||
super.viewWillAppear(animated)
|
||||
|
||||
for cell in tableView.visibleCells {
|
||||
if let cell = cell as? PreferencesAdaptive {
|
||||
cell.updateUIForPreferences()
|
||||
|
|
|
@ -61,6 +61,8 @@ class TimelineTableViewController: UITableViewController {
|
|||
}
|
||||
|
||||
override func viewWillAppear(_ animated: Bool) {
|
||||
super.viewWillAppear(animated)
|
||||
|
||||
for cell in tableView.visibleCells {
|
||||
if let cell = cell as? PreferencesAdaptive {
|
||||
cell.updateUIForPreferences()
|
||||
|
|
Loading…
Reference in New Issue