Fix Backups settings row not rendering as disabled when unregistered.

This commit is contained in:
Cody Henthorne
2026-03-27 14:20:02 -04:00
committed by Alex Hart
parent 7b4fe7ff40
commit abe0b2ebca

View File

@@ -414,19 +414,8 @@ private fun AppSettingsContent(
if (state.isPrimaryDevice) {
item {
Rows.TextRow(
text = {
Text(
text = stringResource(R.string.preferences_chats__backups),
style = MaterialTheme.typography.bodyLarge
)
},
icon = {
Icon(
imageVector = SignalIcons.Backup.imageVector,
contentDescription = stringResource(R.string.preferences_chats__backups),
tint = MaterialTheme.colorScheme.onSurface
)
},
icon = SignalIcons.Backup.imageVector,
text = stringResource(R.string.preferences_chats__backups),
onClick = {
callbacks.navigate(AppSettingsRoute.BackupsRoute.Backups)
},