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

Commit

Permalink
Use calculator style number order in AmountKeyboard (#2530)
Browse files Browse the repository at this point in the history
  • Loading branch information
rougsig authored Sep 2, 2023
1 parent 8b0c1d6 commit 573df1f
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,23 +295,23 @@ fun AmountKeyboard(
) {
CircleNumberButton(
forCalculator = forCalculator,
value = "7",
value = "1",
onNumberPressed = onNumberPressed
)

Spacer(Modifier.width(16.dp))

CircleNumberButton(
forCalculator = forCalculator,
value = "8",
value = "2",
onNumberPressed = onNumberPressed
)

Spacer(Modifier.width(16.dp))

CircleNumberButton(
forCalculator = forCalculator,
value = "9",
value = "3",
onNumberPressed = onNumberPressed
)

Expand Down Expand Up @@ -367,23 +367,23 @@ fun AmountKeyboard(
) {
CircleNumberButton(
forCalculator = forCalculator,
value = "1",
value = "7",
onNumberPressed = onNumberPressed
)

Spacer(Modifier.width(16.dp))

CircleNumberButton(
forCalculator = forCalculator,
value = "2",
value = "8",
onNumberPressed = onNumberPressed
)

Spacer(Modifier.width(16.dp))

CircleNumberButton(
forCalculator = forCalculator,
value = "3",
value = "9",
onNumberPressed = onNumberPressed
)

Expand Down Expand Up @@ -511,4 +511,4 @@ private fun Preview() {
}
}
}
}
}

0 comments on commit 573df1f

Please sign in to comment.