mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-09-07 19:14:12 +08:00
refactor: no need inline
This commit is contained in:
@@ -27,8 +27,8 @@ import androidx.compose.ui.unit.Dp
|
||||
import androidx.compose.ui.unit.TextUnit
|
||||
import androidx.compose.ui.unit.isSpecified
|
||||
|
||||
internal inline fun Dp.orElse() = if (isSpecified) this else null
|
||||
internal fun Dp.orElse() = if (isSpecified) this else null
|
||||
|
||||
internal inline fun Color.orElse() = if (isSpecified) this else null
|
||||
internal fun Color.orElse() = if (isSpecified) this else null
|
||||
|
||||
internal inline fun TextUnit.orElse() = if (isSpecified) this else null
|
||||
internal fun TextUnit.orElse() = if (isSpecified) this else null
|
Reference in New Issue
Block a user