window.open(`https://twitter.com/intent/tweet?text=${this.state.quote} - ${this.state.author} on @getmue`, '_blank').focus()}/>
+ if (localStorage.getItem('tweetButton') === 'false') tweet = null;
return (
{`${this.state.quote}`}
- {this.state.author} {copy}
+ {this.state.author} {copy} {tweet}
);
}
diff --git a/src/modules/defaultSettings.json b/src/modules/defaultSettings.json
index 88d8fcd9..e2d92efd 100644
--- a/src/modules/defaultSettings.json
+++ b/src/modules/defaultSettings.json
@@ -78,5 +78,9 @@
{
"name": "favouriteEnabled",
"value": true
+ },
+ {
+ "name": "tweetButton",
+ "value": false
}
]
\ No newline at end of file