Skip to content

Commit c9bb10d

Browse files
Try to reduce text input resizing
1 parent fa55de1 commit c9bb10d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

FyreplaceLegacy/Sources/Views/KeyboardDodgingConstraint.swift

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ class KeyboardDodgingConstraint: NSLayoutConstraint {
1313
.take(during: reactive.lifetime)
1414
.observeValues { [unowned self] in onDeviceOrientationDidChange($0) }
1515

16-
NotificationCenter.default.reactive
17-
.notifications(forName: UIWindow.keyboardWillShowNotification)
18-
.take(during: reactive.lifetime)
19-
.observeValues { [unowned self] in onWindowKeyboardShow($0) }
20-
2116
NotificationCenter.default.reactive
2217
.notifications(forName: UIWindow.keyboardDidShowNotification)
2318
.take(during: reactive.lifetime)
@@ -27,11 +22,6 @@ class KeyboardDodgingConstraint: NSLayoutConstraint {
2722
.notifications(forName: UIWindow.keyboardWillHideNotification)
2823
.take(during: reactive.lifetime)
2924
.observeValues { [unowned self] in onWindowKeyboardHide($0) }
30-
31-
NotificationCenter.default.reactive
32-
.notifications(forName: UIWindow.keyboardDidHideNotification)
33-
.take(during: reactive.lifetime)
34-
.observeValues { [unowned self] in onWindowKeyboardHide($0) }
3525
}
3626

3727
private func onDeviceOrientationDidChange(_ notification: Notification) {

0 commit comments

Comments
 (0)