mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-05-20 15:58:50 +00:00
android: remove reset offsets button
no longer needed, offset is now found in the xposed module itself
This commit is contained in:
@@ -605,38 +605,38 @@ fun AppSettingsScreen(navController: NavController) {
|
|||||||
|
|
||||||
Spacer(modifier = Modifier.height(16.dp))
|
Spacer(modifier = Modifier.height(16.dp))
|
||||||
|
|
||||||
Button(
|
// Button(
|
||||||
onClick = { showResetDialog.value = true },
|
// onClick = { showResetDialog.value = true },
|
||||||
modifier = Modifier
|
// modifier = Modifier
|
||||||
.fillMaxWidth()
|
// .fillMaxWidth()
|
||||||
.height(50.dp),
|
// .height(50.dp),
|
||||||
colors = ButtonDefaults.buttonColors(
|
// colors = ButtonDefaults.buttonColors(
|
||||||
containerColor = MaterialTheme.colorScheme.errorContainer
|
// containerColor = MaterialTheme.colorScheme.errorContainer
|
||||||
),
|
// ),
|
||||||
shape = RoundedCornerShape(28.dp)
|
// shape = RoundedCornerShape(28.dp)
|
||||||
) {
|
// ) {
|
||||||
Row(
|
// Row(
|
||||||
verticalAlignment = Alignment.CenterVertically,
|
// verticalAlignment = Alignment.CenterVertically,
|
||||||
horizontalArrangement = Arrangement.Center
|
// horizontalArrangement = Arrangement.Center
|
||||||
) {
|
// ) {
|
||||||
Icon(
|
// Icon(
|
||||||
imageVector = Icons.Default.Refresh,
|
// imageVector = Icons.Default.Refresh,
|
||||||
contentDescription = "Reset",
|
// contentDescription = "Reset",
|
||||||
tint = MaterialTheme.colorScheme.onErrorContainer,
|
// tint = MaterialTheme.colorScheme.onErrorContainer,
|
||||||
modifier = Modifier.size(18.dp)
|
// modifier = Modifier.size(18.dp)
|
||||||
)
|
// )
|
||||||
Spacer(modifier = Modifier.width(8.dp))
|
// Spacer(modifier = Modifier.width(8.dp))
|
||||||
Text(
|
// Text(
|
||||||
text = stringResource(R.string.reset_hook_offset),
|
// text = stringResource(R.string.reset_hook_offset),
|
||||||
color = MaterialTheme.colorScheme.onErrorContainer,
|
// color = MaterialTheme.colorScheme.onErrorContainer,
|
||||||
style = TextStyle(
|
// style = TextStyle(
|
||||||
fontSize = 16.sp,
|
// fontSize = 16.sp,
|
||||||
fontWeight = FontWeight.Medium,
|
// fontWeight = FontWeight.Medium,
|
||||||
fontFamily = FontFamily(Font(R.font.sf_pro))
|
// fontFamily = FontFamily(Font(R.font.sf_pro))
|
||||||
)
|
// )
|
||||||
)
|
// )
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
Spacer(modifier = Modifier.height(16.dp))
|
Spacer(modifier = Modifier.height(16.dp))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user