refactor: decrease ripple size

This commit is contained in:
FunkyMuse 2023-07-25 13:23:03 +02:00
parent 73e8b05797
commit c76138b69e
1 changed files with 2 additions and 1 deletions

View File

@ -90,6 +90,7 @@ fun SettingsScreen(
navigationIcon = { navigationIcon = {
Box( Box(
Modifier Modifier
.padding(start = 3.dp)
.clip(RoundedCornerShape(50)) .clip(RoundedCornerShape(50))
.clickable( .clickable(
navigationIconInteractionSource, rememberRipple( navigationIconInteractionSource, rememberRipple(
@ -101,7 +102,7 @@ fun SettingsScreen(
Icon( Icon(
imageVector = Icons.Filled.ArrowBack, contentDescription = stringResource(id = R.string.back), imageVector = Icons.Filled.ArrowBack, contentDescription = stringResource(id = R.string.back),
tint = scrolledColor, tint = scrolledColor,
modifier = Modifier.padding(8.dp) modifier = Modifier.padding(5.dp)
) )
} }