Don't remove theme

main
Bob Mottram 2020-07-10 19:18:51 +01:00
parent 5c5ee0a687
commit bbd83dbb52
1 changed files with 0 additions and 2 deletions

View File

@ -164,7 +164,6 @@ def setCustomFont(baseDir: str):
def enableGrayscale(baseDir: str): def enableGrayscale(baseDir: str):
removeTheme(baseDir)
setSingleThemeParam(baseDir, 'grayscale', '100%') setSingleThemeParam(baseDir, 'grayscale', '100%')
grayscaleFilename = baseDir + '/accounts/.grayscale' grayscaleFilename = baseDir + '/accounts/.grayscale'
if not os.path.isfile(grayscaleFilename): if not os.path.isfile(grayscaleFilename):
@ -173,7 +172,6 @@ def enableGrayscale(baseDir: str):
def disableGrayscale(baseDir: str): def disableGrayscale(baseDir: str):
removeTheme(baseDir)
setSingleThemeParam(baseDir, 'grayscale', '0%') setSingleThemeParam(baseDir, 'grayscale', '0%')
grayscaleFilename = baseDir + '/accounts/.grayscale' grayscaleFilename = baseDir + '/accounts/.grayscale'
if os.path.isfile(grayscaleFilename): if os.path.isfile(grayscaleFilename):