Skip to content

Commit 6d7f2b7

Browse files
committed
refactor: set lambda as argument
1 parent 2345997 commit 6d7f2b7

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

app/src/main/java/to/bitkit/ui/screens/wallets/send/AddTagScreen.kt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,9 @@ private fun Preview() {
128128
),
129129
onTagSelected = {},
130130
onInputUpdated = {},
131-
onTagConfirmed = {}
132-
) { }
131+
onTagConfirmed = {},
132+
onBack = {}
133+
)
133134
}
134135
}
135136

@@ -141,6 +142,8 @@ private fun Preview2() {
141142
uiState = AddTagUiState(),
142143
onTagSelected = {},
143144
onInputUpdated = {},
144-
onTagConfirmed = {}) { }
145+
onTagConfirmed = {},
146+
onBack = {}
147+
)
145148
}
146149
}

0 commit comments

Comments
 (0)