mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Inline the delete sync feature flag.
This commit is contained in:
committed by
Cody Henthorne
parent
84fbb7c466
commit
94795599e2
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user