mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-09-07 19:14:12 +08:00
refactor: rename isDynamicColorsAvailable to isDynamicColorAvailable
This commit is contained in:
@@ -32,7 +32,7 @@ import com.highcapable.betterandroid.ui.extension.graphics.mixColorOf
|
||||
|
||||
@Composable
|
||||
@ReadOnlyComposable
|
||||
actual fun isDynamicColorsAvailable() = SystemColors.isAvailable
|
||||
actual fun isDynamicColorAvailable() = SystemColors.isAvailable
|
||||
|
||||
internal actual val DynamicLightColors
|
||||
@Composable
|
||||
|
@@ -369,7 +369,7 @@ private val BlueBlackColors = Colors(
|
||||
|
||||
@Composable
|
||||
@ReadOnlyComposable
|
||||
expect fun isDynamicColorsAvailable(): Boolean
|
||||
expect fun isDynamicColorAvailable(): Boolean
|
||||
|
||||
@Composable
|
||||
@ReadOnlyComposable
|
||||
|
@@ -28,7 +28,7 @@ import androidx.compose.runtime.ReadOnlyComposable
|
||||
|
||||
@Composable
|
||||
@ReadOnlyComposable
|
||||
actual fun isDynamicColorsAvailable() = false
|
||||
actual fun isDynamicColorAvailable() = false
|
||||
|
||||
internal actual val DynamicLightColors
|
||||
@Composable
|
||||
|
@@ -28,7 +28,7 @@ import androidx.compose.runtime.ReadOnlyComposable
|
||||
|
||||
@Composable
|
||||
@ReadOnlyComposable
|
||||
actual fun isDynamicColorsAvailable() = false
|
||||
actual fun isDynamicColorAvailable() = false
|
||||
|
||||
internal actual val DynamicLightColors
|
||||
@Composable
|
||||
|
Reference in New Issue
Block a user