mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Change wording
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
5e8b43f3ed
commit
c9c72036f3
1 changed files with 4 additions and 2 deletions
|
@ -134,8 +134,10 @@ const Notifier = {
|
|||
if (result !== 'granted') {
|
||||
// The permission request was dismissed or denied
|
||||
const description = result === 'denied'
|
||||
? 'Your browser is not permitting this app to send you notifications.'
|
||||
: 'It seems you didn\'t accept notifications when your browser asked';
|
||||
? 'Riot does not have permission to send you notifications'
|
||||
+ ' - please check your browser settings'
|
||||
: 'Riot was not given permission to send notifications'
|
||||
+ '- please try again';
|
||||
const ErrorDialog = sdk.getComponent('dialogs.ErrorDialog');
|
||||
Modal.createDialog(ErrorDialog, {
|
||||
title: 'Unable to enable Notifications',
|
||||
|
|
Loading…
Reference in a new issue