fix: modernify code

This commit is contained in:
Diego Rodríguez Baquero
2021-10-10 13:49:13 -05:00
parent c36e43eaa3
commit 63b55df637
25 changed files with 146 additions and 164 deletions

View File

@@ -13,7 +13,7 @@ module.exports = class PrefsController {
const state = this.state
state.location.go({
url: 'preferences',
setup: function (cb) {
setup(cb) {
// initialize preferences
state.window.title = 'Preferences'
ipcRenderer.send('setAllowNav', false)