mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-22 13:48:55 +00:00
Code format
This commit is contained in:
parent
fbceaec499
commit
3ef4ea283e
1 changed files with 2 additions and 2 deletions
|
|
@ -144,8 +144,8 @@ class TaskRepositoryImpl(
|
|||
bgTask.value = (bgTask.value - localDelta) + res.delta
|
||||
if (TaskType.DAILY == bgTask.type || TaskType.TODO == bgTask.type) {
|
||||
bgTask.completed = up
|
||||
if(TaskType.DAILY == bgTask.type){
|
||||
if(up){
|
||||
if (TaskType.DAILY == bgTask.type) {
|
||||
if (up) {
|
||||
bgTask.streak = (bgTask.streak ?: 0) + 1
|
||||
} else {
|
||||
bgTask.streak = (bgTask.streak ?: 0) - 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue