diff options
| author | Sajad Vishkai <sajaclvishkai@gmail.com> | 2022-09-26 15:20:13 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2022-09-26 16:31:21 +0200 |
| commit | f1e5b9d12f7aa4efb26a79108410115345ee3f55 (patch) | |
| tree | c00c8e351dfe2f62a5627c81544e90e39c29d945 | |
| parent | 840a6be87d166ebce99ccac8c56a54eb29be0a7c (diff) | |
| download | mullvadvpn-f1e5b9d12f7aa4efb26a79108410115345ee3f55.tar.xz mullvadvpn-f1e5b9d12f7aa4efb26a79108410115345ee3f55.zip | |
Update AutomaticKeyboardResponder.swift
| -rw-r--r-- | ios/MullvadVPN/AutomaticKeyboardResponder.swift | 4 |
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 } } } |
