Make sure note to self is included in backupsV2.

This commit is contained in:
Greyson Parrelli
2024-05-14 15:44:44 -04:00
committed by Nicholas Tinsley
parent 0465fdea62
commit 227a279131
9 changed files with 22 additions and 19 deletions

View File

@@ -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")
}