mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-07 22:15:38 -05:00
config: restructure, migration system, cache data
This commit is contained in:
@@ -19,7 +19,7 @@ Scope {
|
||||
}
|
||||
|
||||
function lock() {
|
||||
if (!processingExternalEvent && SessionData.loginctlLockIntegration && DMSService.isConnected) {
|
||||
if (!processingExternalEvent && SettingsData.loginctlLockIntegration && DMSService.isConnected) {
|
||||
DMSService.lockSession(response => {
|
||||
if (response.error) {
|
||||
console.warn("Lock: Failed to call loginctl.lock:", response.error)
|
||||
@@ -32,7 +32,7 @@ Scope {
|
||||
}
|
||||
|
||||
function unlock() {
|
||||
if (!processingExternalEvent && SessionData.loginctlLockIntegration && DMSService.isConnected) {
|
||||
if (!processingExternalEvent && SettingsData.loginctlLockIntegration && DMSService.isConnected) {
|
||||
DMSService.unlockSession(response => {
|
||||
if (response.error) {
|
||||
console.warn("Lock: Failed to call loginctl.unlock:", response.error)
|
||||
|
||||
Reference in New Issue
Block a user