mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 10:15:43 +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) => {
|
export const showToast = (policyUrl?: string) => {
|
||||||
ToastStore.sharedInstance().addOrReplaceToast({
|
ToastStore.sharedInstance().addOrReplaceToast({
|
||||||
key: TOAST_KEY,
|
key: TOAST_KEY,
|
||||||
title: _t("Notifications"),
|
title: _t("Help us improve Riot"),
|
||||||
props: {
|
props: {
|
||||||
description: _t(
|
description: _t(
|
||||||
"Send <UsageDataLink>anonymous usage data</UsageDataLink> which helps us improve Riot. " +
|
"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({
|
ToastStore.sharedInstance().addOrReplaceToast({
|
||||||
key: TOAST_KEY,
|
key: TOAST_KEY,
|
||||||
title: _t("Notifications"),
|
title: _t("Warning"),
|
||||||
props: {
|
props: {
|
||||||
description: <React.Fragment>{errorText} {contactText}</React.Fragment>,
|
description: <React.Fragment>{errorText} {contactText}</React.Fragment>,
|
||||||
acceptLabel: _t("Ok"),
|
acceptLabel: _t("Ok"),
|
||||||
onAccept: hideToast,
|
onAccept: hideToast,
|
||||||
},
|
},
|
||||||
component: GenericToast,
|
component: GenericToast,
|
||||||
priority: 20,
|
priority: 70,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue