async _systemThemeChangeHandler(e, isDarkMode) {
    const theme = isDarkMode ?
      '@advanced-rest-client/arc-electron-dark-theme' :
      '@advanced-rest-client/arc-electron-default-theme';
    const app = this.app;
    app.compatibility = false;
    try {
      await this.themeManager.loadTheme(theme);
    } catch (e) {
      console.error(e);
    }
  }
/**
   * Handler for system theme change event dispatche in the IO thread.
   * Updates theme depending on current setting.
   *
   * @param {Event} e
   * @param {Boolean} isDarkMode true when Electron detected dark mode
   * @return {Promise}
   */
Handler for system theme change event dispatche in the IO thread.
Updates theme depending on current setting.

@param {Event} e
@param {Boolean} isDarkMode true when Electron detected dark mode
@return {Promise}
Handler for system theme change event dispatche in the IO thread . Updates theme depending on current setting . @param { Event } e @param { Boolean } isDarkMode true when Electron detected dark mode @return { Promise }
async _systemThemeChangeHandler(e, isDarkMode) {
    const theme = isDarkMode ?
      '@advanced-rest-client/arc-electron-dark-theme' :
      '@advanced-rest-client/arc-electron-default-theme';
    const app = this.app;
    app.compatibility = false;
    try {
      await this.themeManager.loadTheme(theme);
    } catch (e) {
      console.error(e);
    }
  }
async _systemThemeChangeHandler ( e , isDarkMode ) { const theme = isDarkMode ? '@advanced-rest-client/arc-electron-dark-theme' : '@advanced-rest-client/arc-electron-default-theme' ; const app = this . app ; app . compatibility = false ; try { await this . themeManager . loadTheme ( theme ) ; } catch ( e ) { console . error ( e ) ; } }
Handler for system theme change event dispatche in the IO thread.
Handler for system theme change event dispatche in the IO thread .