1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

fix: Remove extra calling function. Now call directly to check wakatime plugin.

This commit is contained in:
Luis Reinoso
2020-05-23 12:25:37 -05:00
parent 1aaba74e24
commit c02ab033f4

View File

@@ -48,10 +48,6 @@ class PluginsTab extends React.Component {
ipc.removeListener('APP_SETTING_ERROR', this.handleSettingError)
}
checkPluginsRequirements() {
this.checkWakatimePluginRequirement()
}
checkWakatimePluginRequirement() {
const { wakatime } = this.state.config
if (wakatime.isActive && !commandExists('wakatime-cli')) {
@@ -94,7 +90,7 @@ class PluginsTab extends React.Component {
})
this.clearMessage()
this.props.haveToSave()
this.checkPluginsRequirements()
this.checkWakatimePluginRequirement()
}
handleIsWakatimePluginActiveChange(e) {