Skip to content

Should loop setting use localStorage instead? #40

@polyipseity

Description

@polyipseity

get loop(): boolean {
return session.getBoolean('loop');
},
set loop(loop: boolean) {
session.setBoolean('loop', loop);
},

Refer to the code above. Currently the loop button uses sessionStorage. This means when I close and reopen the tab, the loop setting is reset to false. If I install the app as a web app (on iOS), when I reopen the web app, it is also reset to false.

I feel like the loop setting should use localStorage, so that it persists when I reopen the tab/web app. It would also be more inline with other media players, e.g. VLC, Apple Music, where the loop settings are kept when you reopen them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions