Skip to content

Commit 5602636

Browse files
authored
docs: remove nullable .state reference (#940)
## 📜 Description Removed `nulalble` state text. ## 💡 Motivation and Context Starting from `1.17.x` it's not the case anymore 😎 ## 📢 Changelog <!-- High level overview of important changes --> <!-- For example: fixed status bar manipulation; added new types declarations; --> <!-- If your changes don't affect one of platform/language below - then remove this platform/language --> ### Docs - removed `It returns `null` if keyboard was not shown in the app yet.` text; ## 🤔 How Has This Been Tested? Tested via preview. ## 📸 Screenshots (if appropriate): <img width="970" alt="image" src="https://github.com/user-attachments/assets/7a60fa30-d011-4bd8-aa34-349a2612155c" /> ## 📝 Checklist - [x] CI successfully passed - [x] I added new mocks and corresponding unit-tests if library API was changed
1 parent dcf226a commit 5602636

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/docs/api/keyboard-controller.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ if (KeyboardController.isVisible()) {
9696
static state(): KeyboardEventData;
9797
```
9898

99-
This method returns the last keyboard state. It returns `null` if keyboard was not shown in the app yet.
99+
This method returns the last keyboard state.
100100

101101
The `KeyboardEventData` is represented by following structure:
102102

docs/versioned_docs/version-1.17.0/api/keyboard-controller.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ if (KeyboardController.isVisible()) {
9696
static state(): KeyboardEventData;
9797
```
9898

99-
This method returns the last keyboard state. It returns `null` if keyboard was not shown in the app yet.
99+
This method returns the last keyboard state.
100100

101101
The `KeyboardEventData` is represented by following structure:
102102

0 commit comments

Comments
 (0)