[ios] Fix track recording points updates subscribe/unsubscribe

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
This commit is contained in:
Kiryl Kaveryn
2025-08-19 14:37:08 +04:00
committed by Yannik Bloscheck
parent 266d62831f
commit e0c579634b
2 changed files with 13 additions and 4 deletions

View File

@@ -79,6 +79,11 @@ final class PlacePageScrollView: UIScrollView {
updatePreviewOffset()
}
override func viewWillDisappear(_ animated: Bool) {
super.viewWillDisappear(animated)
interactor?.viewWillDisappear()
}
override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
super.traitCollectionDidChange(previousTraitCollection)
// Update layout when the device was rotated but skip when the appearance was changed.