mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-18 18:54:52 +00:00
Remove test line
This commit is contained in:
parent
d88fcbdc33
commit
cf696fefc7
@ -12,7 +12,6 @@ class Settings extends Component {
|
|||||||
|
|
||||||
handleNotificationToggle() {
|
handleNotificationToggle() {
|
||||||
Notification.requestPermission().then(permission => {
|
Notification.requestPermission().then(permission => {
|
||||||
this.props.toggleNotificationEnabled(true);
|
|
||||||
if (permission === 'granted') {
|
if (permission === 'granted') {
|
||||||
this.props.toggleNotificationEnabled(!this.props.notificationIsEnabled);
|
this.props.toggleNotificationEnabled(!this.props.notificationIsEnabled);
|
||||||
this.props.toggleNotificationAllowed(true);
|
this.props.toggleNotificationAllowed(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user