Skip to content

Commit b7bcf10

Browse files
authored
Fix badly merged master branch
1 parent d6ca83e commit b7bcf10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extension.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ export default class DashToDockExtension extends Extension.Extension {
4747
this._watchDog = null;
4848
};
4949
/* eslint-enable no-undef */
50-
const settings = SettingsManager.getDefaultGSettings();
51-
settings.reset('recent-icons'); // clear in preparation of new collection
5250
}
5351

5452
enable() {
5553
this._isEnabled = true;
5654
SettingsManager.initialize(this);
55+
const settings = SettingsManager.getDefault().gsettings;
56+
settings.reset('recent-icons'); // clear in preparation of new collection
5757
Util.tryCleanupOldIndicators();
5858
this._maybeEnableAfterNameAvailable();
5959
TrayIconsManager.TrayIconsManager.initialize();

0 commit comments

Comments
 (0)