mirror of
https://github.com/SimpleMobileTools/Simple-Calculator.git
synced 2025-06-05 21:49:13 +02:00
refactor: increase ripple size
This commit is contained in:
@@ -82,24 +82,29 @@ fun SettingsScreen(
|
|||||||
Text(
|
Text(
|
||||||
text = stringResource(id = R.string.settings),
|
text = stringResource(id = R.string.settings),
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.padding(start = 16.dp)
|
.padding(start = 8.dp)
|
||||||
.fillMaxWidth(),
|
.fillMaxWidth(),
|
||||||
color = scrolledColor
|
color = scrolledColor
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
navigationIcon = {
|
navigationIcon = {
|
||||||
Icon(
|
Box(
|
||||||
imageVector = Icons.Filled.ArrowBack, contentDescription = stringResource(id = R.string.back),
|
Modifier
|
||||||
modifier = Modifier
|
|
||||||
.padding(start = 8.dp)
|
|
||||||
.clip(RoundedCornerShape(50))
|
.clip(RoundedCornerShape(50))
|
||||||
.clickable(
|
.clickable(
|
||||||
navigationIconInteractionSource, rememberRipple(
|
navigationIconInteractionSource, rememberRipple(
|
||||||
color = MaterialTheme.colorScheme.onSurface
|
color = MaterialTheme.colorScheme.onSurface,
|
||||||
|
bounded = true
|
||||||
)
|
)
|
||||||
) { goBack() },
|
) { goBack() }
|
||||||
tint = scrolledColor
|
) {
|
||||||
|
Icon(
|
||||||
|
imageVector = Icons.Filled.ArrowBack, contentDescription = stringResource(id = R.string.back),
|
||||||
|
tint = scrolledColor,
|
||||||
|
modifier = Modifier.padding(8.dp)
|
||||||
)
|
)
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
scrollBehavior = scrollBehavior,
|
scrollBehavior = scrollBehavior,
|
||||||
colors = TopAppBarDefaults.largeTopAppBarColors(
|
colors = TopAppBarDefaults.largeTopAppBarColors(
|
||||||
|
Reference in New Issue
Block a user