mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-09 22:04:24 +01:00
remove variable shadowing
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
a3b99e9010
commit
e7756003d7
@ -117,8 +117,8 @@ class UserManager internal constructor(private val userRepository: UsersReposito
|
||||
val user = it.first()
|
||||
user.apply {
|
||||
current = true
|
||||
}.also { user ->
|
||||
userRepository.updateUser(user)
|
||||
}.also { currentUser ->
|
||||
userRepository.updateUser(currentUser)
|
||||
}
|
||||
Maybe.just(user)
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user