Fix toast changes in react-sdk

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2024-07-30 14:54:21 +01:00
parent 59e526e318
commit c9aa0ceb00

View File

@@ -170,8 +170,8 @@ export default class ElectronPlatform extends VectorBasePlatform {
title: _t("download_completed"),
props: {
description: name,
acceptLabel: _t("action|open"),
onAccept,
primaryLabel: _t("action|open"),
onPrimaryClick: onAccept,
dismissLabel: _t("action|dismiss"),
onDismiss,
numSeconds: 10,