Browse Source

Merge pull request #1977 from chojpsh1/hajeong

change disturb icon via state of button press
pull/1997/head
Ramiro Saenz 6 years ago committed by GitHub
parent
commit
1c7f834c42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/view/main/MainController.js

3
app/view/main/MainController.js

@ -313,6 +313,9 @@ Ext.define('Rambox.view.main.MainController', {
btn.setText(locale['app.main[16]']+': ' + ( btn.pressed ? locale['app.window[20]'] : locale['app.window[21]'] ));
var btn_icon = document.getElementById('disturbBtn-btnIconEl');
btn_icon.innerHTML = btn.pressed ? "" : "";
// If this method is called from Lock method, prevent showing toast
if ( !e ) return;
Ext.toast({

Loading…
Cancel
Save