We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6ca83e commit b7bcf10Copy full SHA for b7bcf10
extension.js
@@ -47,13 +47,13 @@ export default class DashToDockExtension extends Extension.Extension {
47
this._watchDog = null;
48
};
49
/* eslint-enable no-undef */
50
- const settings = SettingsManager.getDefaultGSettings();
51
- settings.reset('recent-icons'); // clear in preparation of new collection
52
}
53
54
enable() {
55
this._isEnabled = true;
56
SettingsManager.initialize(this);
+ const settings = SettingsManager.getDefault().gsettings;
+ settings.reset('recent-icons'); // clear in preparation of new collection
57
Util.tryCleanupOldIndicators();
58
this._maybeEnableAfterNameAvailable();
59
TrayIconsManager.TrayIconsManager.initialize();
0 commit comments