Skip to content

Commit

Permalink
Update systemuicontroller.md (#739)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesmuchene committed Sep 30, 2021
1 parent eb91aff commit 83e746a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/systemuicontroller.md
Expand Up @@ -5,7 +5,7 @@
System UI Controller provides easy-to-use utilities for updating the System UI bar colors within Jetpack Compose.

## Usage
To control the system UI in your composables, you must need to get a [`SystemUiController`](../api/systemuicontroller/systemuicontroller/com.google.accompanist.systemuicontroller/-system-ui-controller/) instance. The library provides the [`rememberSystemUiController()`](../api/systemuicontroller/systemuicontroller/com.google.accompanist.systemuicontroller/remember-system-ui-controller.html) function which returns an instance for the current system (currently only Android).
To control the system UI in your composables, you need to get a [`SystemUiController`](../api/systemuicontroller/systemuicontroller/com.google.accompanist.systemuicontroller/-system-ui-controller/) instance. The library provides the [`rememberSystemUiController()`](../api/systemuicontroller/systemuicontroller/com.google.accompanist.systemuicontroller/remember-system-ui-controller.html) function which returns an instance for the current system (currently only Android).

In your layouts you can update the system bar colors like so:

Expand Down

0 comments on commit 83e746a

Please sign in to comment.