1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 15:32:50 -05:00

remove font check

This commit is contained in:
bbedward
2025-10-25 18:30:24 -04:00
parent 8c626b20e1
commit 8db7b8419a

View File

@@ -271,7 +271,6 @@ Singleton {
Component.onCompleted: { Component.onCompleted: {
if (!isGreeterMode) { if (!isGreeterMode) {
loadSettings() loadSettings()
fontCheckTimer.start()
initializeListModels() initializeListModels()
fprintdDetectionProcess.running = true fprintdDetectionProcess.running = true
} }
@@ -1884,27 +1883,6 @@ Singleton {
id: rightWidgetsModel id: rightWidgetsModel
} }
Timer {
id: fontCheckTimer
interval: 3000
repeat: false
onTriggered: {
var availableFonts = Qt.fontFamilies()
var missingFonts = []
if (fontFamily === defaultFontFamily && !availableFonts.includes(defaultFontFamily))
missingFonts.push(defaultFontFamily)
if (monoFontFamily === defaultMonoFontFamily && !availableFonts.includes(defaultMonoFontFamily))
missingFonts.push(defaultMonoFontFamily)
if (missingFonts.length > 0) {
var message = "Missing fonts: " + missingFonts.join(", ") + ". Using system defaults."
ToastService.showWarning(message)
}
}
}
property Process testNotificationProcess property Process testNotificationProcess
testNotificationProcess: Process { testNotificationProcess: Process {