Skip to content

Releases

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 01 Nov 15:10

The library is now published as com.composables:systembars in the com.composables.systembars package. Earlier releases below were published as com.composables:system-ui.

Added

  • SystemBars(all) applies the same content to the status and navigation bars.
  • SystemBarsState(viewController) and SystemBarsState.statusBarStyle let your own iOS view controller apply system bar requests.

Changed

  • Rename SystemBarIcons to SystemBarContent, and SystemBarIcons.Default to SystemBarContent.Unspecified. SystemBarContent is a value class, so new values can be added without breaking callers.
  • Rename SystemUiState to SystemBarsState, ProvideSystemUi to ProvideSystemBars, and SystemUiViewController to SystemBarsViewController.
  • SystemBarAppearance is a regular class instead of a data class.
  • SystemBars on iOS without a host has no effect and logs a warning instead of throwing.
  • SystemBars on Android without an Activity or dialog window, such as in Android Studio previews, has no effect instead of throwing.
  • Leave the deprecated navigation bar color alone where Android enforces edge-to-edge and ignores it.
  • Leave the navigation bar untouched on Android 6 and 7, which cannot draw dark navigation buttons.
  • SystemBarsState.appearance resolves each bar from the most recent request that specifies it, matching Android. An overlay that leaves a bar unspecified no longer resets it on iOS or in custom hosts.

v1.1.1

Choose a tag to compare

@github-actions github-actions released this 21 Oct 08:57

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 17 Oct 00:56

Added

  • Control status-bar and navigation-bar icon appearance on Android.
  • Control iOS status-bar appearance with SystemUiViewController.
  • Expose appearance state for custom hosts and restore underlying requests when overrides leave composition.
  • Support JVM and Wasm with no-op native system-bar implementations.