1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-12 08:42:13 -04:00

(settings): Enhance authentication checks in Greeter & LockScreen tabs

This commit is contained in:
purian23
2026-03-11 16:58:15 -04:00
parent 76c50a654a
commit 9f2518c9e1
3 changed files with 62 additions and 11 deletions

View File

@@ -1016,13 +1016,20 @@ Singleton {
signal widgetDataChanged
signal workspaceIconsUpdated
function refreshAuthAvailability() {
if (isGreeterMode)
return;
Processes.settingsRoot = root;
Processes.detectFprintd();
Processes.detectU2f();
}
Component.onCompleted: {
if (!isGreeterMode) {
Processes.settingsRoot = root;
loadSettings();
initializeListModels();
Processes.detectFprintd();
Processes.detectU2f();
refreshAuthAvailability();
Processes.checkPluginSettings();
}
}