Loading app/src/main/java/foundation/e/apps/data/login/LoginDataStore.kt +3 −3 Original line number Diff line number Diff line Loading @@ -120,10 +120,10 @@ class LoginDataStore @Inject constructor( return runBlocking { userType.first().run { val userStrings = User.values().map { it.name } if (this !in userStrings) { User.UNAVAILABLE } else { if (this in userStrings) { User.valueOf(this) } else { User.UNAVAILABLE } } } Loading Loading
app/src/main/java/foundation/e/apps/data/login/LoginDataStore.kt +3 −3 Original line number Diff line number Diff line Loading @@ -120,10 +120,10 @@ class LoginDataStore @Inject constructor( return runBlocking { userType.first().run { val userStrings = User.values().map { it.name } if (this !in userStrings) { User.UNAVAILABLE } else { if (this in userStrings) { User.valueOf(this) } else { User.UNAVAILABLE } } } Loading