Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix notification and Improve tray icon #7

Merged
merged 3 commits into from Oct 9, 2018

Conversation

dotenorio
Copy link
Contributor

  • Notification now show better information without breaking lines, bullets and 'SnoreToast' string. (https://i.imgur.com/P7qci2m.png)
  • Click tray adjust to best ux where user just minimized player.
  • Add right click to execute About and Quit faster.

馃槏 馃槏

@@ -148,9 +176,9 @@ function playStatus () {
if (mainWindow) {
mainWindow.webContents.executeJavaScript(`
var ipcRenderer = require('electron').ipcRenderer
var status = (document.querySelector('.play-pause-button').title === 'Pause')? 'Playing' : 'Paused'
var status = (!document.querySelector('.play-pause-button').title.includes('Paus')) ? 'Playing' : 'Paused'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added this verification to work in pt-br also

@simon-fraser simon-fraser merged commit 4e8f169 into simon-fraser:master Oct 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants