Skip to content

Commit 3a0792c

Browse files
committed
boost toast ids
1 parent 906791f commit 3a0792c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Bitkit/Views/Wallets/Sheets/BoostSheet.swift

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,8 @@ struct BoostSheet: View {
389389
app.toast(
390390
type: .success,
391391
title: t("wallet__boost_success_title"),
392-
description: t("wallet__boost_success_msg")
392+
description: t("wallet__boost_success_msg"),
393+
accessibilityIdentifier: "BoostSuccessToast"
393394
)
394395

395396
Logger.info("Boost transaction completed successfully, hiding sheet", context: "BoostSheet.performBoost")
@@ -408,8 +409,9 @@ struct BoostSheet: View {
408409

409410
app.toast(
410411
type: .error,
411-
title: t("wallet__boost_error"),
412-
description: error.localizedDescription
412+
title: t("wallet__boost_error_title"),
413+
description: t("wallet__boost_error_msg"),
414+
accessibilityIdentifier: "BoostFailureToast"
413415
)
414416

415417
throw error

0 commit comments

Comments
 (0)