mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-04-27 00:23:30 +00:00
android: hide media assist, not implemented
This commit is contained in:
@@ -222,41 +222,43 @@ fun HearingAidScreen(navController: NavController) {
|
|||||||
)
|
)
|
||||||
Spacer(modifier = Modifier.height(16.dp))
|
Spacer(modifier = Modifier.height(16.dp))
|
||||||
|
|
||||||
StyledToggle(
|
// not implemented yet
|
||||||
title = stringResource(R.string.media_assist),
|
|
||||||
label = stringResource(R.string.media_assist),
|
|
||||||
checkedState = mediaAssistEnabled,
|
|
||||||
independent = true,
|
|
||||||
description = stringResource(R.string.media_assist_description)
|
|
||||||
)
|
|
||||||
|
|
||||||
Spacer(modifier = Modifier.height(8.dp))
|
// StyledToggle(
|
||||||
|
// title = stringResource(R.string.media_assist),
|
||||||
|
// label = stringResource(R.string.media_assist),
|
||||||
|
// checkedState = mediaAssistEnabled,
|
||||||
|
// independent = true,
|
||||||
|
// description = stringResource(R.string.media_assist_description)
|
||||||
|
// )
|
||||||
|
|
||||||
Column (
|
// Spacer(modifier = Modifier.height(8.dp))
|
||||||
modifier = Modifier
|
|
||||||
.fillMaxWidth()
|
|
||||||
.background(backgroundColor, RoundedCornerShape(28.dp))
|
|
||||||
) {
|
|
||||||
StyledToggle(
|
|
||||||
label = stringResource(R.string.adjust_media),
|
|
||||||
checkedState = adjustMediaEnabled,
|
|
||||||
onCheckedChange = { onAdjustMediaChange(it) },
|
|
||||||
independent = false
|
|
||||||
)
|
|
||||||
HorizontalDivider(
|
|
||||||
thickness = 1.dp,
|
|
||||||
color = Color(0x40888888),
|
|
||||||
modifier = Modifier
|
|
||||||
.padding(horizontal = 12.dp)
|
|
||||||
)
|
|
||||||
|
|
||||||
StyledToggle(
|
// Column (
|
||||||
label = stringResource(R.string.adjust_calls),
|
// modifier = Modifier
|
||||||
checkedState = adjustPhoneEnabled,
|
// .fillMaxWidth()
|
||||||
onCheckedChange = { onAdjustPhoneChange(it) },
|
// .background(backgroundColor, RoundedCornerShape(28.dp))
|
||||||
independent = false
|
// ) {
|
||||||
)
|
// StyledToggle(
|
||||||
}
|
// label = stringResource(R.string.adjust_media),
|
||||||
|
// checkedState = adjustMediaEnabled,
|
||||||
|
// onCheckedChange = { onAdjustMediaChange(it) },
|
||||||
|
// independent = false
|
||||||
|
// )
|
||||||
|
// HorizontalDivider(
|
||||||
|
// thickness = 1.dp,
|
||||||
|
// color = Color(0x40888888),
|
||||||
|
// modifier = Modifier
|
||||||
|
// .padding(horizontal = 12.dp)
|
||||||
|
// )
|
||||||
|
|
||||||
|
// StyledToggle(
|
||||||
|
// label = stringResource(R.string.adjust_calls),
|
||||||
|
// checkedState = adjustPhoneEnabled,
|
||||||
|
// onCheckedChange = { onAdjustPhoneChange(it) },
|
||||||
|
// independent = false
|
||||||
|
// )
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user