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() {
localStorage.setItem("shareWithTimeCode", this.withTimeCode);
localStorage.setItem("shareAsPipedLink", this.pipedLink);
this.setPreference("shareWithTimeCode", this.withTimeCode);
this.setPreference("shareAsPipedLink", this.pipedLink);
},
},
computed: {