Restore pre-scrolling in provider location
Artifacts are caused by translucent navigation bar, also in other views. Will fix later.
This commit is contained in:
parent
e71b22c7c8
commit
23d184ae08
|
@ -309,13 +309,11 @@ extension ProviderLocationView {
|
|||
}
|
||||
}
|
||||
|
||||
// FIXME: layout, pre-scrolling produces plenty of artifacts
|
||||
|
||||
//extension ProviderLocationView {
|
||||
// private func scrollToSelectedLocation(_ proxy: ScrollViewProxy) {
|
||||
// proxy.maybeScrollTo(selectedServer?.locationId)
|
||||
// }
|
||||
//}
|
||||
extension ProviderLocationView {
|
||||
private func scrollToSelectedLocation(_ proxy: ScrollViewProxy) {
|
||||
proxy.maybeScrollTo(selectedServer?.locationId)
|
||||
}
|
||||
}
|
||||
|
||||
extension ProviderLocationView.ServerListView {
|
||||
private func scrollToSelectedServer(_ proxy: ScrollViewProxy) {
|
||||
|
|
Loading…
Reference in New Issue