Skip to content

Commit

Permalink
Remove typo from readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhuinden committed Dec 9, 2021
1 parent b14fa97 commit d003d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ After which going to the second screen is as simple as `backstack.goTo(SecondScr

### Warning regarding integration against OnBackPressedDispatcher

The addition of `OnBackPressedDispatcher` by Jetpack's ComponentActivity effectively breaks all code that ever relied on `onBackPressed()` due to poor design decisions.OnBackPressedDispatcher
The addition of `OnBackPressedDispatcher` by Jetpack's ComponentActivity effectively breaks all code that ever relied on `onBackPressed()` due to poor design decisions.

This means that in order to use `OnBackPressedDispatcher` in either Fragments or via the `BackHandler` in Compose, we need to adjust the back handling code to use the following, slightly hacky approach:

Expand Down

0 comments on commit d003d93

Please sign in to comment.