mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-28 01:24:03 +03:00
remove variable shadowing
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
a3b99e9010
commit
e7756003d7
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue