use setPreference

This commit is contained in:
Bnyro 2022-11-02 14:16:14 +01:00
parent a84a9435fe
commit 4172ba81e0

View file

@ -66,8 +66,8 @@ export default {
} }
}, },
onChange() { onChange() {
localStorage.setItem("shareWithTimeCode", this.withTimeCode); this.setPreference("shareWithTimeCode", this.withTimeCode);
localStorage.setItem("shareAsPipedLink", this.pipedLink); this.setPreference("shareAsPipedLink", this.pipedLink);
}, },
}, },
computed: { computed: {