diff --git a/vector/src/main/java/im/vector/app/features/onboarding/OnboardingViewEvents.kt b/vector/src/main/java/im/vector/app/features/onboarding/OnboardingViewEvents.kt index a531d21fa6..536c1d1875 100644 --- a/vector/src/main/java/im/vector/app/features/onboarding/OnboardingViewEvents.kt +++ b/vector/src/main/java/im/vector/app/features/onboarding/OnboardingViewEvents.kt @@ -48,8 +48,8 @@ sealed class OnboardingViewEvents : VectorViewEvents { data class OnSendMsisdnSuccess(val msisdn: String) : OnboardingViewEvents() data class OnWebLoginError(val errorCode: Int, val description: String, val failingUrl: String) : OnboardingViewEvents() - object OnAccountCreated: OnboardingViewEvents() - object OnAccountSignedIn: OnboardingViewEvents() - object OnTakeMeHome: OnboardingViewEvents() - object OnPersonalizeProfile: OnboardingViewEvents() + object OnAccountCreated : OnboardingViewEvents() + object OnAccountSignedIn : OnboardingViewEvents() + object OnTakeMeHome : OnboardingViewEvents() + object OnPersonalizeProfile : OnboardingViewEvents() } diff --git a/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthVariant.kt b/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthVariant.kt index ea475c690d..1e792df427 100644 --- a/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthVariant.kt +++ b/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthVariant.kt @@ -225,7 +225,6 @@ class FtueAuthVariant( OnboardingViewEvents.OnAccountSignedIn -> onAccountSignedIn() OnboardingViewEvents.OnPersonalizeProfile -> TODO() OnboardingViewEvents.OnTakeMeHome -> navigateToHome(createdAccount = true) - }.exhaustive }