1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -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: {
if (!isGreeterMode) {
loadSettings()
fontCheckTimer.start()
initializeListModels()
fprintdDetectionProcess.running = true
}
@@ -1884,27 +1883,6 @@ Singleton {
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
testNotificationProcess: Process {