mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Make sure note to self is included in backupsV2.
This commit is contained in:
committed by
Nicholas Tinsley
parent
0465fdea62
commit
227a279131
@@ -170,7 +170,7 @@ class InternalBackupPlaygroundFragment : ComposeFragment() {
|
||||
},
|
||||
mediaContent = { snackbarHostState ->
|
||||
MediaList(
|
||||
enabled = SignalStore.backup().canReadWriteToArchiveCdn,
|
||||
enabled = SignalStore.backup().backsUpMedia,
|
||||
state = mediaState,
|
||||
snackbarHostState = snackbarHostState,
|
||||
archiveAttachmentMedia = { viewModel.archiveAttachmentMedia(it) },
|
||||
@@ -215,7 +215,7 @@ fun Tabs(
|
||||
}
|
||||
},
|
||||
actions = {
|
||||
if (tabIndex == 1 && SignalStore.backup().canReadWriteToArchiveCdn) {
|
||||
if (tabIndex == 1 && SignalStore.backup().backsUpMedia) {
|
||||
TextButton(onClick = onDeleteAllArchivedMedia) {
|
||||
Text(text = "Delete All")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user