Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 189540b2 authored by Jonathan Klee's avatar Jonathan Klee Committed by Nishant D
Browse files

Update as per review

parent f8943d74
Loading
Loading
Loading
Loading
Loading
+19 −19
Original line number Diff line number Diff line
@@ -9,10 +9,10 @@ enum class User {
    companion object {
        fun getUser(userString: String): User {
            val userStrings = values().map { it.name }
            return if (userString !in userStrings) {
                UNAVAILABLE
            } else {
            return if (userString in userStrings) {
                valueOf(userString)              
            } else {
                UNAVAILABLE
            }
        }
    }