mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-08 22:33:26 +01:00
- Settings-Fix: deselect rows after user selection and before performing actions
This commit is contained in:
@@ -1238,6 +1238,7 @@ extension SettingsViewController
|
||||
}
|
||||
|
||||
case .operationsLoggingControl:
|
||||
|
||||
// Instantiate SwiftUI View inside UIHostingController
|
||||
let operationsLoggingControlView = OperationsLoggingControlView()
|
||||
let operationsLoggingController = UIHostingController(rootView: operationsLoggingControlView)
|
||||
@@ -1251,6 +1252,10 @@ extension SettingsViewController
|
||||
// case .account, .patreon, .display, .instructions, .macDirtyCow: break
|
||||
case .account, .patreon, .display, .instructions: break
|
||||
}
|
||||
|
||||
|
||||
// deselect the row before returning (so that it doesn't look like stuck selected)
|
||||
tableView.deselectRow(at: indexPath, animated: true)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user