Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
Fixed added typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsathogguaa committed May 5, 2022
1 parent fcdfc22 commit f870c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/ch/sdp/vibester/activity/GameActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ open class GameActivity : AppCompatActivity() {
}

fun decreaseBarTimer(myBar: ProgressBar) {
if (myBar.progress == maxTime/2 + 1 && myBar.progress > 5) {
if (myBar.progress == maxTime/2 && myBar.progress > 5) {
myBar.progressTintList =
ColorStateList.valueOf(getColor(R.color.maximum_yellow_red))
} else if (myBar.progress == 5) {
Expand Down

0 comments on commit f870c0e

Please sign in to comment.