mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 13:32:50 -05:00
conidtionally watch changes
This commit is contained in:
@@ -628,8 +628,8 @@ Singleton {
|
|||||||
|
|
||||||
FileView {
|
FileView {
|
||||||
id: customThemeFileView
|
id: customThemeFileView
|
||||||
watchChanges: true
|
watchChanges: currentTheme === "custom"
|
||||||
|
|
||||||
function parseAndLoadTheme() {
|
function parseAndLoadTheme() {
|
||||||
try {
|
try {
|
||||||
var themeData = JSON.parse(customThemeFileView.text())
|
var themeData = JSON.parse(customThemeFileView.text())
|
||||||
|
|||||||
Reference in New Issue
Block a user