Skip to content

Commit fccc380

Browse files
committed
Run IntelliJ IDEA Reformat Code on the whole project, and manually revert some changes and update some code
1 parent 1437677 commit fccc380

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

common/legacy/src/commonMain/kotlin/com/huanshankeji/compose/ui/color/Colors.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package com.huanshankeji.compose.ui.color
33
expect object Colors {
44
val black: Color
55
val white: Color
6-
val gray : Color
6+
val gray: Color
77
val red: Color
88
val green: Color
99
val blue: Color

common/src/androidxCommonMain/kotlin/com/huanshankeji/compose/ui/graphics/Brush.androidxCommon.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ import androidx.compose.runtime.Immutable
44
import androidx.compose.ui.graphics.Brush as PlatformBrush
55

66
@Immutable
7-
actual class Brush(val platformValue : PlatformBrush)
7+
actual class Brush(val platformValue: PlatformBrush)

material3/src/androidxCommonMain/kotlin/com/huanshankeji/compose/material3/FloatingActionButton.androidxCommon.kt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,23 @@ actual fun SmallFloatingActionButton(
1818
onClick: () -> Unit,
1919
modifier: Modifier,
2020
content: @Composable () -> Unit
21-
) =
21+
) =
2222
androidx.compose.material3.SmallFloatingActionButton(onClick, modifier.platformModifier, content = content)
2323

2424
@Composable
2525
actual fun LargeFloatingActionButton(
2626
onClick: () -> Unit,
2727
modifier: Modifier,
2828
content: @Composable () -> Unit
29-
) =
29+
) =
3030
androidx.compose.material3.LargeFloatingActionButton(onClick, modifier.platformModifier, content = content)
3131

3232
@Composable
3333
actual fun ExtendedFloatingActionButton(
3434
onClick: () -> Unit,
3535
modifier: Modifier,
3636
content: @Composable RowScope.() -> Unit
37-
) =
38-
androidx.compose.material3.ExtendedFloatingActionButton(onClick, modifier.platformModifier, content = content.toPlatformRowScopeContent())
37+
) =
38+
androidx.compose.material3.ExtendedFloatingActionButton(
39+
onClick, modifier.platformModifier, content = content.toPlatformRowScopeContent()
40+
)

0 commit comments

Comments
 (0)