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

Use calculator style number order in AmountKeyboard #2530

Merged
merged 1 commit into from
Sep 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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() {
}
}
}
}
}