From 6d80051cb96c72274fead1f747ace23949892a73 Mon Sep 17 00:00:00 2001
From: Taras Smakula <tarassmakula@gmail.com>
Date: Wed, 28 Feb 2024 16:51:01 +0200
Subject: [PATCH] UIAFlowType

---
 .../auth/feature/uia/stages/password/BsSpekeStageDataSource.kt | 2 +-
 .../auth/feature/uia/stages/password/PasswordFragment.kt       | 2 +-
 auth/src/main/java/org/futo/circles/auth/model/UIAFlowType.kt  | 3 +++
 3 files changed, 5 insertions(+), 2 deletions(-)
 create mode 100644 auth/src/main/java/org/futo/circles/auth/model/UIAFlowType.kt

diff --git a/auth/src/main/java/org/futo/circles/auth/feature/uia/stages/password/BsSpekeStageDataSource.kt b/auth/src/main/java/org/futo/circles/auth/feature/uia/stages/password/BsSpekeStageDataSource.kt
index 8ef8708b7..509695738 100644
--- a/auth/src/main/java/org/futo/circles/auth/feature/uia/stages/password/BsSpekeStageDataSource.kt
+++ b/auth/src/main/java/org/futo/circles/auth/feature/uia/stages/password/BsSpekeStageDataSource.kt
@@ -12,7 +12,7 @@ import org.futo.circles.auth.feature.uia.UIADataSource.Companion.REGISTRATION_BS
 import org.futo.circles.auth.feature.uia.UIADataSource.Companion.REGISTRATION_BSSPEKE_SAVE_TYPE
 import org.futo.circles.auth.feature.uia.UIADataSource.Companion.TYPE_PARAM_KEY
 import org.futo.circles.auth.feature.uia.UIADataSourceProvider
-import org.futo.circles.auth.feature.uia.UIAFlowType
+import org.futo.circles.auth.model.UIAFlowType
 import org.futo.circles.core.extensions.Response
 import org.matrix.android.sdk.api.auth.registration.RegistrationResult
 import org.matrix.android.sdk.api.auth.registration.Stage
diff --git a/auth/src/main/java/org/futo/circles/auth/feature/uia/stages/password/PasswordFragment.kt b/auth/src/main/java/org/futo/circles/auth/feature/uia/stages/password/PasswordFragment.kt
index 46abf2e1e..d04263299 100644
--- a/auth/src/main/java/org/futo/circles/auth/feature/uia/stages/password/PasswordFragment.kt
+++ b/auth/src/main/java/org/futo/circles/auth/feature/uia/stages/password/PasswordFragment.kt
@@ -11,8 +11,8 @@ import dagger.hilt.android.AndroidEntryPoint
 import org.futo.circles.auth.R
 import org.futo.circles.auth.databinding.FragmentPasswordBinding
 import org.futo.circles.auth.feature.uia.UIADataSourceProvider
-import org.futo.circles.auth.feature.uia.UIAFlowType
 import org.futo.circles.auth.feature.uia.stages.password.confirmation.SetupPasswordWarningDialog
+import org.futo.circles.auth.model.UIAFlowType
 import org.futo.circles.core.base.fragment.HasLoadingState
 import org.futo.circles.core.base.fragment.ParentBackPressOwnerFragment
 import org.futo.circles.core.extensions.getText
diff --git a/auth/src/main/java/org/futo/circles/auth/model/UIAFlowType.kt b/auth/src/main/java/org/futo/circles/auth/model/UIAFlowType.kt
new file mode 100644
index 000000000..0dcc9c4e3
--- /dev/null
+++ b/auth/src/main/java/org/futo/circles/auth/model/UIAFlowType.kt
@@ -0,0 +1,3 @@
+package org.futo.circles.auth.model
+
+enum class UIAFlowType { Login, Signup, ReAuth, ForgotPassword }
\ No newline at end of file
-- 
GitLab