mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-21 21:29:00 +00:00
Update user when changing class
This commit is contained in:
parent
7b4100c32e
commit
891de53a14
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ class UserRepositoryImpl(
|
|||
override fun disableClasses(): Flowable<User> = apiClient.disableClasses().flatMap { retrieveUser(withTasks = false, forced = true) }
|
||||
|
||||
override fun changeClass(selectedClass: String): Flowable<User> = apiClient.changeClass(selectedClass)
|
||||
.flatMap { retrieveUser(false) }
|
||||
.flatMap { retrieveUser(false, forced = true) }
|
||||
|
||||
override fun unlockPath(path: String, price: Int): Flowable<UnlockResponse> {
|
||||
return zipWithLiveUser(apiClient.unlockPath(path)) { unlockResponse, copiedUser ->
|
||||
|
|
|
|||
Loading…
Reference in a new issue