Skip to content

Commit

Permalink
Fixed linters
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanarodr committed May 3, 2024
1 parent 7728810 commit 96be97c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private fun AlertForms(
) {
OutlinedTextField(
value = uiModel.ticket,
onValueChange = { },
onValueChange = { uiModel.ticket },
enabled = false,
label = { Text("Ticket") },
modifier = Modifier.fillMaxWidth(),
Expand All @@ -72,7 +72,7 @@ private fun AlertForms(

OutlinedTextField(
value = uiModel.alertValue.formatCurrency(),
onValueChange = { },
onValueChange = { uiModel.alertValue },
enabled = false,
label = { Text("Alertar em") },
modifier = Modifier.fillMaxWidth(),
Expand All @@ -82,6 +82,7 @@ private fun AlertForms(
}

@Composable
@Suppress("MultipleEmitters")
@OptIn(ExperimentalMaterial3Api::class)
private fun AlertActions(
uiModel: AlertUiModel,
Expand Down Expand Up @@ -146,8 +147,8 @@ private fun AlertActions(
@Composable
private fun AlertLayoutTitle(
uiModel: AlertUiModel,
modifier: Modifier = Modifier,
onEditItem: (data: AlertUiModel) -> Unit,
modifier: Modifier = Modifier,
onDeleteItem: (id: Long) -> Unit,
) {
Row(
Expand Down Expand Up @@ -220,8 +221,8 @@ private fun AlertLayoutContent(
@Composable
internal fun AlertCard(
uiModel: AlertUiModel,
modifier: Modifier = Modifier,
onEditItem: (data: AlertUiModel) -> Unit,
modifier: Modifier = Modifier,
onDeleteItem: (id: Long) -> Unit,
) {
OutlinedCard(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import timber.log.Timber
@Composable
private fun StockAlertContent(
uiModel: StockAlertUiModel,
modifier: Modifier = Modifier,
onEditItem: (data: AlertUiModel) -> Unit,
modifier: Modifier = Modifier,
onDeleteItem: (id: Long) -> Unit,
) {
LazyColumn(
Expand Down

0 comments on commit 96be97c

Please sign in to comment.