Skip to content

Commit

Permalink
Removing commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
IsmaelMartinez committed Mar 23, 2019
1 parent bbe23c5 commit b9f1207
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions app/browser/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,14 @@

pageTitleNotifications(ipcRenderer);

// HACK: changing the userAgent to chrome after 5 seconds to fix the issue of notifications disapearing.
document.addEventListener(
'DOMContentLoaded',
() => {

setTimeout(() => {
// Chrome video/audio meeting related
enableChromeVideoAudioMeetings();

//Disabling promote stuff
disablePromoteStuff();
// angular.element(document).injector().get('settingsService').appConfig.promoteMobile = false;
// angular.element(document).injector().get('settingsService').appConfig.promoteDesktop = false;
// angular.element(document).injector().get('settingsService').appConfig.hideGetAppButton = true;
// angular.element(document).injector().get('settingsService').appConfig.enableMobileDownloadMailDialog = false;


angular.element(document).injector().get('settingsService').settingsService.refreshSettings();
// Future tests can be done in here...
// angular.element(document).injector().get('settingsService').appConfig.replyBoxFocusAfterNewMessage = true;
Expand Down

0 comments on commit b9f1207

Please sign in to comment.