mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Ensure BackupState and RecoveryState values are set from the SDK only when the first sync is finished.
This commit is contained in:
+8
@@ -17,6 +17,14 @@
|
||||
package io.element.android.libraries.matrix.api.encryption
|
||||
|
||||
enum class BackupState {
|
||||
/**
|
||||
* Special value, when the SDK is waiting for the first sync to be done.
|
||||
*/
|
||||
WAITING_FOR_SYNC,
|
||||
|
||||
/**
|
||||
* Values mapped from the SDK.
|
||||
*/
|
||||
UNKNOWN,
|
||||
CREATING,
|
||||
ENABLING,
|
||||
|
||||
+8
@@ -17,6 +17,14 @@
|
||||
package io.element.android.libraries.matrix.api.encryption
|
||||
|
||||
enum class RecoveryState {
|
||||
/**
|
||||
* Special value, when the SDK is waiting for the first sync to be done.
|
||||
*/
|
||||
WAITING_FOR_SYNC,
|
||||
|
||||
/**
|
||||
* Values mapped from the SDK.
|
||||
*/
|
||||
UNKNOWN,
|
||||
ENABLED,
|
||||
DISABLED,
|
||||
|
||||
Reference in New Issue
Block a user