1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-30 09:32:05 -04:00

Fix: Expand tilde from config paths (#2242)

* Expand tilde to the home directory for paths from config

* Remove extra line
This commit is contained in:
Walid Salah
2026-04-20 15:15:29 +02:00
committed by GitHub
parent f1e3452307
commit 6a9de8b423
3 changed files with 7 additions and 4 deletions

View File

@@ -1321,7 +1321,7 @@ Singleton {
}
function loadCustomThemeFromFile(filePath) {
customThemeFileView.path = filePath;
customThemeFileView.path = Paths.expandTilde(filePath);
}
function reloadCustomThemeVariant() {
@@ -1967,6 +1967,7 @@ Singleton {
FileView {
id: customThemeFileView
blockLoading: false
watchChanges: currentTheme === "custom"
function parseAndLoadTheme() {