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()
|
val user = it.first()
|
||||||
user.apply {
|
user.apply {
|
||||||
current = true
|
current = true
|
||||||
}.also { user ->
|
}.also { currentUser ->
|
||||||
userRepository.updateUser(user)
|
userRepository.updateUser(currentUser)
|
||||||
}
|
}
|
||||||
Maybe.just(user)
|
Maybe.just(user)
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user