Skip to content

Commit

Permalink
Fix typo in names of variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ldeso committed Mar 27, 2024
1 parent 91eccee commit 804d872
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/main/java/net/leodesouza/blitz/ui/ChessClockScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ private fun IsLeaningRightHandler(
val orientation = orientationProvider()
val isLeaningRight = isLeaningRightProvider()

val isChangingFromRightToLeft = !isLeaningRight && orientation in 10 until 170
val isChangingFromLeftToRight = isLeaningRight && orientation in 190 until 350
if (isChangingFromRightToLeft || isChangingFromLeftToRight) {
val isChangingFromLeftToRight = !isLeaningRight && orientation in 10 until 170
val isChangingFromRightToLeft = isLeaningRight && orientation in 190 until 350
if (isChangingFromLeftToRight || isChangingFromRightToLeft) {
onLeaningSideChanged()
}
}
Expand Down

0 comments on commit 804d872

Please sign in to comment.