mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-06 14:16:42 +00:00
Fix level up screen showing wrong level
This commit is contained in:
parent
2bd7617f79
commit
f2701dfcd0
1 changed files with 1 additions and 2 deletions
|
|
@ -91,7 +91,6 @@ constructor(private val soundManager: SoundManager, threadExecutor: ThreadExecut
|
|||
}
|
||||
|
||||
class RequestValues(val user: User, val activity: AppCompatActivity) : UseCase.RequestValues {
|
||||
val newLevel: Int = user.stats?.lvl ?: 0
|
||||
|
||||
val newLevel: Int = (user.stats?.lvl ?: 0 ) + 1
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue