Skip to content

Commit

Permalink
Merge pull request #1227 from MarkusBillharz/setStatusBarColor_typo
Browse files Browse the repository at this point in the history
[systemUiController] Minor typos in docs: setStatusBarColor, setNavigationBarColor
  • Loading branch information
bentrengrove committed Jul 6, 2022
2 parents 983ff4c + d1d8167 commit 47e2bdb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/systemuicontroller.md
Expand Up @@ -22,7 +22,7 @@ SideEffect {
darkIcons = useDarkIcons
)

// setStatusBarsColor() and setNavigationBarColor() also exist
// setStatusBarColor() and setNavigationBarColor() also exist
}
```

Expand All @@ -40,7 +40,7 @@ Similar happens on navigation bar color, which is only available on API 26+.
The scrim logic can be modified if needed:

``` kotlin
systemUiController.setStatusBarsColor(
systemUiController.setStatusBarColor(
color = Color.Transparent,
darkIcons = true
) { requestedColor ->
Expand Down
Expand Up @@ -36,6 +36,6 @@ fun SystemUiControllerSample() {
darkIcons = useDarkIcons
)

// setStatusBarsColor() and setNavigationBarsColor() also exist
// setStatusBarColor() and setNavigationBarColor() also exist
}
}

0 comments on commit 47e2bdb

Please sign in to comment.