mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
use setPreference
This commit is contained in:
parent
a84a9435fe
commit
4172ba81e0
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue