summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ios/MullvadVPN/AutomaticKeyboardResponder.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/ios/MullvadVPN/AutomaticKeyboardResponder.swift b/ios/MullvadVPN/AutomaticKeyboardResponder.swift
index ee3a97bfa8..b2a083ccd7 100644
--- a/ios/MullvadVPN/AutomaticKeyboardResponder.swift
+++ b/ios/MullvadVPN/AutomaticKeyboardResponder.swift
@@ -171,10 +171,10 @@ extension AutomaticKeyboardResponder {
self.init(targetView: targetView) { scrollView, offset in
if scrollView.canBecomeFirstResponder {
scrollView.contentInset.bottom = targetView.isFirstResponder ? offset : 0
- scrollView.scrollIndicatorInsets.bottom = targetView.isFirstResponder ? offset : 0
+ scrollView.verticalScrollIndicatorInsets.bottom = targetView.isFirstResponder ? offset : 0
} else {
scrollView.contentInset.bottom = offset
- scrollView.scrollIndicatorInsets.bottom = offset
+ scrollView.verticalScrollIndicatorInsets.bottom = offset
}
}
}