mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
fix copy
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
ccf9e65123
commit
29cfb47a83
2 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ const TOAST_KEY = "analytics";
|
|||
export const showToast = (policyUrl?: string) => {
|
||||
ToastStore.sharedInstance().addOrReplaceToast({
|
||||
key: TOAST_KEY,
|
||||
title: _t("Notifications"),
|
||||
title: _t("Help us improve Riot"),
|
||||
props: {
|
||||
description: _t(
|
||||
"Send <UsageDataLink>anonymous usage data</UsageDataLink> which helps us improve Riot. " +
|
||||
|
|
|
@ -34,14 +34,14 @@ export const showToast = (limitType: string, adminContact?: string, syncError?:
|
|||
|
||||
ToastStore.sharedInstance().addOrReplaceToast({
|
||||
key: TOAST_KEY,
|
||||
title: _t("Notifications"),
|
||||
title: _t("Warning"),
|
||||
props: {
|
||||
description: <React.Fragment>{errorText} {contactText}</React.Fragment>,
|
||||
acceptLabel: _t("Ok"),
|
||||
onAccept: hideToast,
|
||||
},
|
||||
component: GenericToast,
|
||||
priority: 20,
|
||||
priority: 70,
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue