mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-24 05:55:39 +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()
|
||||
user.apply {
|
||||
current = true
|
||||
}.also { user ->
|
||||
userRepository.updateUser(user)
|
||||
}.also { currentUser ->
|
||||
userRepository.updateUser(currentUser)
|
||||
}
|
||||
Maybe.just(user)
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue