Skip to content

Commit bf094ba

Browse files
authored
Merge pull request #32 from sidmani/patch-1
Corrected view.height to view.frame.height in readme
2 parents f09e17e + 6be5e5e commit bf094ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ RxKeyboard.instance.frame
7272
```swift
7373
RxKeyboard.instance.visibleHeight
7474
.drive(onNext: { keyboardVisibleHeight in
75-
toolbar.frame.origin.y = self.view.height - toolbar.frame.height - keyboardVisibleHeight
75+
toolbar.frame.origin.y = self.view.frame.height - toolbar.frame.height - keyboardVisibleHeight
7676
})
7777
.disposed(by: disposeBag)
7878
```

0 commit comments

Comments
 (0)