From e0f99e3b17763d0deea6a7e426641149326ed801 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Mon, 7 Feb 2022 09:23:57 +0000 Subject: [PATCH] formatting --- .../app/features/onboarding/OnboardingViewEvents.kt | 8 ++++---- .../app/features/onboarding/ftueauth/FtueAuthVariant.kt | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) 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 a531d21fa64..536c1d18755 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 ea475c690d0..1e792df427d 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 }