diff --git a/src/components/player/Player.tsx b/src/components/player/Player.tsx index 7b975c2..ba68ed6 100644 --- a/src/components/player/Player.tsx +++ b/src/components/player/Player.tsx @@ -522,16 +522,6 @@ const Player = ({ currentEntryList, muted, children }: any, ref: any) => { ]; ipcRenderer.send('current-song', nextSong); - if (config.player.systemNotifications) { - // eslint-disable-next-line no-new - new Notification(nextSong.title, { - body: `${nextSong.artist.map((artist: Artist) => artist.title).join(', ')}\n${ - nextSong.album - }`, - icon: nextSong.image, - }); - } - dispatch(setAutoIncremented(false)); } } @@ -586,16 +576,6 @@ const Player = ({ currentEntryList, muted, children }: any, ref: any) => { ]; ipcRenderer.send('current-song', nextSong); - if (config.player.systemNotifications) { - // eslint-disable-next-line no-new - new Notification(nextSong.title, { - body: `${nextSong.artist.map((artist: Artist) => artist.title).join(', ')}\n${ - nextSong.album - }`, - icon: nextSong.image, - }); - } - dispatch(setAutoIncremented(false)); } } diff --git a/src/main.prod.js.LICENSE.txt b/src/main.prod.js.LICENSE.txt index 15036cd..47bdfc5 100644 --- a/src/main.prod.js.LICENSE.txt +++ b/src/main.prod.js.LICENSE.txt @@ -1 +1,41 @@ +/* +object-assign +(c) Sindre Sorhus +@license MIT +*/ + /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */ + +/** + * @license + * Lodash + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */ + +/** + * @preserve + * JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013) + * + * @author Jens Taylor + * @see http://github.com/homebrewing/brauhaus-diff + * @author Gary Court + * @see http://github.com/garycourt/murmurhash-js + * @author Austin Appleby + * @see http://sites.google.com/site/murmurhash/ + */ + +/** @license React v17.0.2 + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +//! moment.js + +//! moment.js locale configuration