Skip to content

Commit c02ab03

Browse files
committed
fix: Remove extra calling function. Now call directly to check wakatime plugin.
1 parent 1aaba74 commit c02ab03

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

browser/main/modals/PreferencesModal/PluginsTab.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ class PluginsTab extends React.Component {
4848
ipc.removeListener('APP_SETTING_ERROR', this.handleSettingError)
4949
}
5050

51-
checkPluginsRequirements() {
52-
this.checkWakatimePluginRequirement()
53-
}
54-
5551
checkWakatimePluginRequirement() {
5652
const { wakatime } = this.state.config
5753
if (wakatime.isActive && !commandExists('wakatime-cli')) {
@@ -94,7 +90,7 @@ class PluginsTab extends React.Component {
9490
})
9591
this.clearMessage()
9692
this.props.haveToSave()
97-
this.checkPluginsRequirements()
93+
this.checkWakatimePluginRequirement()
9894
}
9995

10096
handleIsWakatimePluginActiveChange(e) {

0 commit comments

Comments
 (0)