@@ -52,7 +52,6 @@ import io.element.android.features.ftue.api.FtueEntryPoint
52
52
import io.element.android.features.ftue.api.state.FtueService
53
53
import io.element.android.features.ftue.api.state.FtueState
54
54
import io.element.android.features.home.api.HomeEntryPoint
55
- import io.element.android.features.logout.api.LogoutEntryPoint
56
55
import io.element.android.features.networkmonitor.api.NetworkMonitor
57
56
import io.element.android.features.networkmonitor.api.NetworkStatus
58
57
import io.element.android.features.preferences.api.PreferencesEntryPoint
@@ -118,7 +117,6 @@ class LoggedInFlowNode(
118
117
private val shareEntryPoint : ShareEntryPoint ,
119
118
private val matrixClient : MatrixClient ,
120
119
private val sendingQueue : SendQueues ,
121
- private val logoutEntryPoint : LogoutEntryPoint ,
122
120
private val incomingVerificationEntryPoint : IncomingVerificationEntryPoint ,
123
121
private val mediaPreviewConfigMigration : MediaPreviewConfigMigration ,
124
122
private val sessionEnterpriseService : SessionEnterpriseService ,
@@ -276,9 +274,6 @@ class LoggedInFlowNode(
276
274
@Parcelize
277
275
data class IncomingShare (val intent : Intent ) : NavTarget
278
276
279
- @Parcelize
280
- data object LogoutForNativeSlidingSyncMigrationNeeded : NavTarget
281
-
282
277
@Parcelize
283
278
data class IncomingVerificationRequest (val data : VerificationRequest .Incoming ) : NavTarget
284
279
}
@@ -323,10 +318,6 @@ class LoggedInFlowNode(
323
318
override fun onReportBugClick () {
324
319
plugins<Callback >().forEach { it.onOpenBugReport() }
325
320
}
326
-
327
- override fun onLogoutForNativeSlidingSyncMigrationNeeded () {
328
- backstack.push(NavTarget .LogoutForNativeSlidingSyncMigrationNeeded )
329
- }
330
321
}
331
322
homeEntryPoint
332
323
.nodeBuilder(this , buildContext)
@@ -480,17 +471,6 @@ class LoggedInFlowNode(
480
471
.params(ShareEntryPoint .Params (intent = navTarget.intent))
481
472
.build()
482
473
}
483
- is NavTarget .LogoutForNativeSlidingSyncMigrationNeeded -> {
484
- val callback = object : LogoutEntryPoint .Callback {
485
- override fun onChangeRecoveryKeyClick () {
486
- backstack.push(NavTarget .SecureBackup ())
487
- }
488
- }
489
-
490
- logoutEntryPoint.nodeBuilder(this , buildContext)
491
- .callback(callback)
492
- .build()
493
- }
494
474
is NavTarget .IncomingVerificationRequest -> {
495
475
incomingVerificationEntryPoint.nodeBuilder(this , buildContext)
496
476
.params(IncomingVerificationEntryPoint .Params (navTarget.data))
0 commit comments