Skip to content

Commit 6944f72

Browse files
committed
chore: lint
1 parent 5f54af6 commit 6944f72

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app/src/main/java/to/bitkit/ui/screens/transfer/SpendingAmountScreen.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ fun SpendingAmountScreen(
9393
onClickQuarter = viewModel::onClickQuarter,
9494
onClickMaxAmount = viewModel::onClickMaxAmount,
9595
onConfirmAmount = viewModel::onConfirmAmount,
96-
onInputChanged = viewModel::onInputChanged,
96+
onInputChange = viewModel::onInputChanged,
9797
)
9898
}
9999

@@ -106,7 +106,7 @@ private fun Content(
106106
onClickQuarter: () -> Unit,
107107
onClickMaxAmount: () -> Unit,
108108
onConfirmAmount: () -> Unit,
109-
onInputChanged: (String) -> Unit,
109+
onInputChange: (String) -> Unit,
110110
) {
111111
ScreenColumn {
112112
AppTopBar(
@@ -178,10 +178,10 @@ private fun Content(
178178

179179
Keyboard(
180180
onClick = { number ->
181-
onInputChanged(if (uiState.input == "0") number else uiState.input + number)
181+
onInputChange(if (uiState.input == "0") number else uiState.input + number)
182182
},
183183
onClickBackspace = {
184-
onInputChanged(if (uiState.input.length > 1) uiState.input.dropLast(1) else "0")
184+
onInputChange(if (uiState.input.length > 1) uiState.input.dropLast(1) else "0")
185185
},
186186
isDecimal = currencies.primaryDisplay == PrimaryDisplay.FIAT,
187187
modifier = Modifier
@@ -215,7 +215,7 @@ private fun Preview() {
215215
onClickQuarter = {},
216216
onClickMaxAmount = {},
217217
onConfirmAmount = {},
218-
onInputChanged = {},
218+
onInputChange = {},
219219
)
220220
}
221221
}
@@ -232,7 +232,7 @@ private fun Preview2() {
232232
onClickQuarter = {},
233233
onClickMaxAmount = {},
234234
onConfirmAmount = {},
235-
onInputChanged = {},
235+
onInputChange = {},
236236
)
237237
}
238238
}

0 commit comments

Comments
 (0)