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