Skip to content

Commit

Permalink
fix arguments order
Browse files Browse the repository at this point in the history
  • Loading branch information
pawgli committed Feb 5, 2024
1 parent cc871ca commit 2436698
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import androidx.compose.ui.unit.sp
*/
@Composable
fun AutoResizedText(
modifier: Modifier = Modifier,
text: String,
modifier: Modifier = Modifier,
style: TextStyle = LocalTextStyle.current,
minFontSize: TextUnit = 11.sp,
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import androidx.compose.ui.unit.dp
@OptIn(ExperimentalFoundationApi::class)
@Composable
fun <T> DragAndDropList(
modifier: Modifier,
items: List<T>,
modifier: Modifier = Modifier,
contentPadding: PaddingValues = PaddingValues(16.dp),
verticalArrangement: Arrangement.Vertical = Arrangement.spacedBy(16.dp),
onDragEnd: (reorderedList: List<T>) -> Unit,
Expand Down

0 comments on commit 2436698

Please sign in to comment.