mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-09-08 11:34:18 +08:00
refactor: use CircleShape instead 50.dp in Shapes
This commit is contained in:
@@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
package com.highcapable.flexiui
|
package com.highcapable.flexiui
|
||||||
|
|
||||||
|
import androidx.compose.foundation.shape.CircleShape
|
||||||
import androidx.compose.foundation.shape.CornerBasedShape
|
import androidx.compose.foundation.shape.CornerBasedShape
|
||||||
import androidx.compose.foundation.shape.RoundedCornerShape
|
import androidx.compose.foundation.shape.RoundedCornerShape
|
||||||
import androidx.compose.runtime.Immutable
|
import androidx.compose.runtime.Immutable
|
||||||
@@ -41,5 +42,5 @@ internal val LocalShapes = staticCompositionLocalOf { DefaultShapes }
|
|||||||
internal val DefaultShapes = Shapes(
|
internal val DefaultShapes = Shapes(
|
||||||
primary = RoundedCornerShape(15.dp),
|
primary = RoundedCornerShape(15.dp),
|
||||||
secondary = RoundedCornerShape(10.dp),
|
secondary = RoundedCornerShape(10.dp),
|
||||||
tertiary = RoundedCornerShape(50.dp)
|
tertiary = CircleShape
|
||||||
)
|
)
|
Reference in New Issue
Block a user