mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-05-03 03:17:58 +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))
|
||||
|
||||
Button(
|
||||
onClick = { showResetDialog.value = true },
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.height(50.dp),
|
||||
colors = ButtonDefaults.buttonColors(
|
||||
containerColor = MaterialTheme.colorScheme.errorContainer
|
||||
),
|
||||
shape = RoundedCornerShape(28.dp)
|
||||
) {
|
||||
Row(
|
||||
verticalAlignment = Alignment.CenterVertically,
|
||||
horizontalArrangement = Arrangement.Center
|
||||
) {
|
||||
Icon(
|
||||
imageVector = Icons.Default.Refresh,
|
||||
contentDescription = "Reset",
|
||||
tint = MaterialTheme.colorScheme.onErrorContainer,
|
||||
modifier = Modifier.size(18.dp)
|
||||
)
|
||||
Spacer(modifier = Modifier.width(8.dp))
|
||||
Text(
|
||||
text = stringResource(R.string.reset_hook_offset),
|
||||
color = MaterialTheme.colorScheme.onErrorContainer,
|
||||
style = TextStyle(
|
||||
fontSize = 16.sp,
|
||||
fontWeight = FontWeight.Medium,
|
||||
fontFamily = FontFamily(Font(R.font.sf_pro))
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
// Button(
|
||||
// onClick = { showResetDialog.value = true },
|
||||
// modifier = Modifier
|
||||
// .fillMaxWidth()
|
||||
// .height(50.dp),
|
||||
// colors = ButtonDefaults.buttonColors(
|
||||
// containerColor = MaterialTheme.colorScheme.errorContainer
|
||||
// ),
|
||||
// shape = RoundedCornerShape(28.dp)
|
||||
// ) {
|
||||
// Row(
|
||||
// verticalAlignment = Alignment.CenterVertically,
|
||||
// horizontalArrangement = Arrangement.Center
|
||||
// ) {
|
||||
// Icon(
|
||||
// imageVector = Icons.Default.Refresh,
|
||||
// contentDescription = "Reset",
|
||||
// tint = MaterialTheme.colorScheme.onErrorContainer,
|
||||
// modifier = Modifier.size(18.dp)
|
||||
// )
|
||||
// Spacer(modifier = Modifier.width(8.dp))
|
||||
// Text(
|
||||
// text = stringResource(R.string.reset_hook_offset),
|
||||
// color = MaterialTheme.colorScheme.onErrorContainer,
|
||||
// style = TextStyle(
|
||||
// fontSize = 16.sp,
|
||||
// fontWeight = FontWeight.Medium,
|
||||
// fontFamily = FontFamily(Font(R.font.sf_pro))
|
||||
// )
|
||||
// )
|
||||
// }
|
||||
// }
|
||||
|
||||
Spacer(modifier = Modifier.height(16.dp))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user