Inline the delete sync feature flag.

This commit is contained in:
Greyson Parrelli
2024-07-03 16:40:05 -04:00
committed by Cody Henthorne
parent 84fbb7c466
commit 94795599e2
3 changed files with 8 additions and 15 deletions

View File

@@ -10,8 +10,6 @@ import org.signal.core.util.mebiBytes
import org.thoughtcrime.securesms.BuildConfig
import org.thoughtcrime.securesms.dependencies.AppDependencies
import org.thoughtcrime.securesms.groups.SelectionLimits
import org.thoughtcrime.securesms.jobs.RefreshAttributesJob
import org.thoughtcrime.securesms.jobs.RefreshOwnProfileJob
import org.thoughtcrime.securesms.jobs.RemoteConfigRefreshJob
import org.thoughtcrime.securesms.jobs.Svr3MirrorJob
import org.thoughtcrime.securesms.keyvalue.SignalStore
@@ -1063,16 +1061,6 @@ object RemoteConfig {
hotSwappable = true
)
/** Whether or not to delete syncing is enabled. */
val deleteSyncEnabled: Boolean by remoteBoolean(
key = "android.deleteSyncEnabled",
defaultValue = false,
hotSwappable = true,
onChangeListener = {
AppDependencies.jobManager.startChain(RefreshAttributesJob()).then(RefreshOwnProfileJob()).enqueue()
}
)
/** Which phase we're in for the SVR3 migration */
val svr3MigrationPhase: Int by remoteInt(
key = "global.svr3.phase",