Settaggio per notifica cambio viste

This commit is contained in:
marco
2021-11-25 18:49:21 +01:00
parent bc4f4330c1
commit 4298468aca
4 changed files with 6 additions and 4 deletions

View File

@@ -408,7 +408,8 @@ def viewmodeMonitor():
if currentMode != defaultMode:
# logger.debug('viewmode changed: ' + currentModeName + '-' + str(currentMode) + ' - content: ' + content)
config.set_setting('view_mode_%s' % content, currentModeName + ', ' + str(currentMode))
dialog_notification(config.get_localized_string(70153),
if config.get_setting('viewchange_notify'):
dialog_notification(config.get_localized_string(70153),
config.get_localized_string(70187) % (content, currentModeName),
sound=False)
except: