If I manually make changes to the blocklists from the blocklist settings page, then go back to the main settings page and select save settings, the blocklist reverts to how it was before the changes.

If I do the same but exit settings without clicking save settings, it works as intended and the changes persist.

  • tentphone@lemmy.fmhy.mlOP
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    1 year ago

    My guess on what is happening:

    The app makes a temporary copy of the settings data when the settings page is opened. The settings UI elements are connected to the temporary data. When the user clicks save, the app overwrites the actual settings data with the temporary data, but if they exit without saving the temporary data is discarded.

    The blocklist settings page interacts with the actual settings data directly and thus doesn’t need to be saved, but the blocklist is also stored in the temporary settings data; saving overwrites the changes the user just made with the cached version from before they opened settings.

    Personally I would prefer that the save settings button be done away with completely and all settings changes be effective as soon as they are made. This would be far more intuitive for the user and is how it works in pretty much every other mobile app I’ve used.

    Especially now that there are settings subpages, it is unclear whether using the save button in a subpage saves all the settings or just the one on that subpage, and whether or not using the save button on the main page saves the settings in the subpages as well.