mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-02 00:17:41 +01:00
Fix Backups settings row not rendering as disabled when unregistered.
This commit is contained in:
committed by
Alex Hart
parent
7b4fe7ff40
commit
abe0b2ebca
@@ -414,19 +414,8 @@ private fun AppSettingsContent(
|
|||||||
if (state.isPrimaryDevice) {
|
if (state.isPrimaryDevice) {
|
||||||
item {
|
item {
|
||||||
Rows.TextRow(
|
Rows.TextRow(
|
||||||
text = {
|
icon = SignalIcons.Backup.imageVector,
|
||||||
Text(
|
|
||||||
text = stringResource(R.string.preferences_chats__backups),
|
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
|
|
||||||
)
|
|
||||||
},
|
|
||||||
onClick = {
|
onClick = {
|
||||||
callbacks.navigate(AppSettingsRoute.BackupsRoute.Backups)
|
callbacks.navigate(AppSettingsRoute.BackupsRoute.Backups)
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user