Skip to content

Commit 75ecaf4

Browse files
Fix typo in readme
1 parent a8b384b commit 75ecaf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,9 +329,9 @@ This example uses:
329329

330330
<img src="https://i.imgur.com/sS9ASUg.gif" width="200" />
331331

332-
## Create a custom hook to status bar styles with useFocusEffect & react-navigation v6
332+
## Create a custom hook to change status bar styles with useFocusEffect & react-navigation v6
333333

334-
> **warning**
334+
> **Warning**
335335
> Example Outdated. I wrote this status bar hook without knowing that the React Navigation library provides a `useIsFocused` hook. I [updated my example using their technique that also works nicely with `expo-status-bar`](#change-status-bar-style-config-based-on-route-with-useisfocused--react-navigation-v6).
336336
337337
- 🐙 [Repo](https://github.com/amandeepmittal/react-native-examples/tree/main/01-custom-status-bar-hook)

0 commit comments

Comments
 (0)