mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Fix cache bug
This commit is contained in:
@@ -155,6 +155,7 @@ export default class DashToPanelExtension extends Extension {
|
||||
|
||||
PanelSettings.disable(SETTINGS)
|
||||
panelManager.disable()
|
||||
PanelSettings.clearCache()
|
||||
|
||||
DTP_EXTENSION = null
|
||||
SETTINGS = null
|
||||
|
||||
@@ -46,6 +46,7 @@ export var availableMonitors = []
|
||||
|
||||
export async function init(settings) {
|
||||
useCache = true
|
||||
cache = {}
|
||||
prefsOpenedId = settings.connect(
|
||||
'changed::prefs-opened',
|
||||
() => (useCache = !settings.get_boolean('prefs-opened')),
|
||||
|
||||
Reference in New Issue
Block a user