diff --git a/app/src/main/java/com/x8bit/bitwarden/data/platform/manager/model/FlagKey.kt b/app/src/main/java/com/x8bit/bitwarden/data/platform/manager/model/FlagKey.kt index 861711879..2fe2a0b47 100644 --- a/app/src/main/java/com/x8bit/bitwarden/data/platform/manager/model/FlagKey.kt +++ b/app/src/main/java/com/x8bit/bitwarden/data/platform/manager/model/FlagKey.kt @@ -41,7 +41,7 @@ sealed class FlagKey { */ data object AuthenticatorSync : FlagKey() { override val keyName: String = "enable-authenticator-sync-android" - override val defaultValue: Boolean = false + override val defaultValue: Boolean = true override val isRemotelyConfigured: Boolean = false } diff --git a/app/src/test/java/com/x8bit/bitwarden/data/platform/manager/FlagKeyTest.kt b/app/src/test/java/com/x8bit/bitwarden/data/platform/manager/FlagKeyTest.kt index 6be73357a..d09d8fc9f 100644 --- a/app/src/test/java/com/x8bit/bitwarden/data/platform/manager/FlagKeyTest.kt +++ b/app/src/test/java/com/x8bit/bitwarden/data/platform/manager/FlagKeyTest.kt @@ -2,13 +2,14 @@ package com.x8bit.bitwarden.data.platform.manager import com.x8bit.bitwarden.data.platform.manager.model.FlagKey import org.junit.jupiter.api.Assertions.assertFalse +import org.junit.jupiter.api.Assertions.assertTrue import org.junit.jupiter.api.Test class FlagKeyTest { @Test - fun `AuthenticatorSync default value should be false`() { - assertFalse(FlagKey.AuthenticatorSync.defaultValue) + fun `AuthenticatorSync default value should be true`() { + assertTrue(FlagKey.AuthenticatorSync.defaultValue) } @Test