mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Do not connect to web socket until restore decision made.
This commit is contained in:
committed by
Greyson Parrelli
parent
d028fcff8b
commit
9c9620c917
@@ -42,7 +42,7 @@ class MediaRestoreProgressBanner(private val listener: RestoreProgressBannerList
|
||||
private var totalRestoredSize: Long = 0
|
||||
|
||||
override val enabled: Boolean
|
||||
get() = SignalStore.backup.isRestoreInProgress || totalRestoredSize > 0
|
||||
get() = SignalStore.backup.isMediaRestoreInProgress || totalRestoredSize > 0
|
||||
|
||||
override val dataFlow: Flow<BackupStatusData> by lazy {
|
||||
SignalStore
|
||||
|
||||
Reference in New Issue
Block a user