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
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D

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,