Fix toast changes in react-sdk
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
59e526e318
commit
c9aa0ceb00
1 changed files with 2 additions and 2 deletions
|
@ -170,8 +170,8 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
||||||
title: _t("download_completed"),
|
title: _t("download_completed"),
|
||||||
props: {
|
props: {
|
||||||
description: name,
|
description: name,
|
||||||
acceptLabel: _t("action|open"),
|
primaryLabel: _t("action|open"),
|
||||||
onAccept,
|
onPrimaryClick: onAccept,
|
||||||
dismissLabel: _t("action|dismiss"),
|
dismissLabel: _t("action|dismiss"),
|
||||||
onDismiss,
|
onDismiss,
|
||||||
numSeconds: 10,
|
numSeconds: 10,
|
||||||
|
|
Loading…
Reference in a new issue