Skip to content

Commit 1040d7b

Browse files
committed
Boost toasts
1 parent fce4d1f commit 1040d7b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/src/main/java/to/bitkit/ui/screens/wallets/activity/ActivityDetailScreen.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@ fun ActivityDetailScreen(
249249
app.toast(
250250
type = Toast.ToastType.SUCCESS,
251251
title = context.getString(R.string.wallet__boost_success_title),
252-
description = context.getString(R.string.wallet__boost_success_msg)
252+
description = context.getString(R.string.wallet__boost_success_msg),
253+
testTag = "BoostSuccessToast"
253254
)
254255
listViewModel.resync()
255256
onCloseClick()
@@ -258,7 +259,8 @@ fun ActivityDetailScreen(
258259
app.toast(
259260
type = Toast.ToastType.ERROR,
260261
title = context.getString(R.string.wallet__boost_error_title),
261-
description = context.getString(R.string.wallet__boost_error_msg)
262+
description = context.getString(R.string.wallet__boost_error_msg),
263+
testTag = "BoostFailureToast"
262264
)
263265
detailViewModel.onDismissBoostSheet()
264266
},

0 commit comments

Comments
 (0)