mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-25 15:07:21 +00:00
use setPreference
This commit is contained in:
parent
a84a9435fe
commit
4172ba81e0
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user