mwalbeck / nextcloud-breeze-dark

A Breeze Dark theme for Nextcloud
GNU Affero General Public License v3.0
318 stars 57 forks source link

Uninstalling the theme but attributes still present #342

Closed handkerchief333 closed 2 months ago

handkerchief333 commented 2 months ago

Describe the bug A Nextcloud user had activated the theme. And for this user, the attributes of Breezedark are still assigned in the body tag, even though the theme has been deactivated and uninstalled.

To Reproduce Steps to reproduce the behavior:

  1. install the theme
  2. activate the theme for a user
  3. uninstall the theme
  4. activate the light theme for the user
  5. delete caches
  6. check the body class with the user

Expected behavior A clear and concise description of what you expected to happen.

Body Attributes <body id="body-user" data-theme-breezedark data-theme-light data-themes=breezedark,light>

Setup (please complete the following information):

Additional context config:list will give me these infos. I wonder why this is still in my configs at all?

        "breezedark": {
            "enabled": "no",
            "installed_version": "28.0.0",
            "theme_automatic_activation_enabled": "0",
            "theme_enforced": "0",
            "theme_login_page": "0",
            "theme_settings_version": "2",
            "types": ""
        },

Already tried

handkerchief333 commented 2 months ago

Duplicate of: