You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-27 04:21:52 +03:00
funciton name changed to
Signed-off-by: Minhaz A V <minhazav@gmail.com>
This commit is contained in:
@ -128,7 +128,9 @@ var Notifier = {
|
|||||||
return global.Notification.permission == 'default';
|
return global.Notification.permission == 'default';
|
||||||
},
|
},
|
||||||
|
|
||||||
showToolbar: function() {
|
// Function to be used by clients to check weather or not to
|
||||||
|
// show the toolbar.
|
||||||
|
shouldShowToolbar: function() {
|
||||||
// Check localStorage for any such meta data
|
// Check localStorage for any such meta data
|
||||||
if (global.localStorage) {
|
if (global.localStorage) {
|
||||||
if (global.localStorage.getItem('notifications_hidden') === 'true')
|
if (global.localStorage.getItem('notifications_hidden') === 'true')
|
||||||
|
Reference in New Issue
Block a user