Skip to content

Commit

Permalink
Run IntelliJ IDEA Code Cleanup again
Browse files Browse the repository at this point in the history
  • Loading branch information
ShreckYe committed Dec 4, 2024
1 parent eaab148 commit 100a3a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import com.huanshankeji.compose.foundation.ext.outerBorder
import com.huanshankeji.compose.foundation.ext.roundedCornerBackgroundAndOuterBorder
import com.huanshankeji.compose.foundation.ext.roundedCornerOuterBorder
import com.huanshankeji.compose.foundation.layout.*
import com.huanshankeji.compose.foundation.layout.ext.outerPadding
import com.huanshankeji.compose.foundation.lazy.LazyColumn
import com.huanshankeji.compose.foundation.lazy.LazyListScope
import com.huanshankeji.compose.foundation.lazy.LazyRow
Expand All @@ -26,7 +27,7 @@ fun Common(/*modifier: Modifier = Modifier*/) {

@Composable
fun ColorBox(color: Color) =
Box(Modifier.padding(8.dp).background(color).size(40.dp))
Box(Modifier.outerPadding(8.dp).background(color).size(40.dp))

val halfGreen = Color(0, 0x80, 0x00)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import androidx.compose.ui.unit.dp
import com.huanshankeji.compose.foundation.VerticalScrollBox
import com.huanshankeji.compose.foundation.background
import com.huanshankeji.compose.foundation.layout.*
import com.huanshankeji.compose.foundation.layout.ext.outerPadding
import com.huanshankeji.compose.foundation.text.KeyboardActions
import com.huanshankeji.compose.foundation.text.KeyboardOptions
import com.huanshankeji.compose.foundation.text.input.ImeAction
Expand Down Expand Up @@ -73,7 +74,7 @@ fun Material2(/*modifier: Modifier = Modifier*/) {
IconButton(onClick, icon = Icons.Default.Add, contentDescription = "increment count")
}

val listModifier = Modifier.padding(16.dp).height(listSize)
val listModifier = Modifier.outerPadding(16.dp).height(listSize)
List(listModifier) {
item {
Text("Ungrouped item")
Expand Down

0 comments on commit 100a3a9

Please sign in to comment.