diff --git a/src/components/ShareModal.vue b/src/components/ShareModal.vue
index 34d447f4..d6cd1c17 100644
--- a/src/components/ShareModal.vue
+++ b/src/components/ShareModal.vue
@@ -3,11 +3,11 @@
-
+
-
+
@@ -47,6 +47,8 @@ export default {
},
mounted() {
this.timeStamp = parseInt(this.currentTime);
+ this.withTimeCode = this.getPreferenceBoolean("shareWithTimeCode", true);
+ this.pipedLink = this.getPreferenceBoolean("shareAsPipedLink", true);
},
methods: {
followLink() {
@@ -63,6 +65,10 @@ export default {
alert(this.$t("info.cannot_copy"));
}
},
+ onChange() {
+ localStorage.setItem("shareWithTimeCode", this.withTimeCode);
+ localStorage.setItem("shareAsPipedLink", this.pipedLink);
+ },
},
computed: {
generatedLink() {