Skip to content

Commit c5461b6

Browse files
authored
Merge pull request #3337 from SpiritCroc/stuck-login
Fix login navigation getting stuck when the app was compiled with no-op analytics provider
2 parents 3c30a9c + 107b295 commit c5461b6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

features/ftue/impl/src/main/kotlin/io/element/android/features/ftue/impl/state/DefaultFtueService.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ class DefaultFtueService @Inject constructor(
9898
} else {
9999
getNextStep(FtueStep.AnalyticsOptIn)
100100
}
101-
FtueStep.AnalyticsOptIn -> null
101+
FtueStep.AnalyticsOptIn -> {
102+
updateState()
103+
null
104+
}
102105
}
103106

104107
private suspend fun isAnyStepIncomplete(): Boolean {

0 commit comments

Comments
 (0)