From 7d30ed43105571cea873852be98b6470136aea6c Mon Sep 17 00:00:00 2001 From: Damien Erambert Date: Mon, 3 Jul 2023 18:36:34 +0200 Subject: [PATCH] truly hide the "try new tweetdeck" button --- src/features/hidePreviewButton.css | 3 +++ src/features/hidePreviewButton.ts | 1 + 2 files changed, 4 insertions(+) create mode 100644 src/features/hidePreviewButton.css diff --git a/src/features/hidePreviewButton.css b/src/features/hidePreviewButton.css new file mode 100644 index 000000000..80711e44a --- /dev/null +++ b/src/features/hidePreviewButton.css @@ -0,0 +1,3 @@ +.gryphon-beta-btn-container { + display: none; +} diff --git a/src/features/hidePreviewButton.ts b/src/features/hidePreviewButton.ts index 725aa02a5..1dc523b35 100644 --- a/src/features/hidePreviewButton.ts +++ b/src/features/hidePreviewButton.ts @@ -11,6 +11,7 @@ export const hidePreviewButton = makeBTDModule(({mR, settings}) => { return; } + require('./hidePreviewButton.css'); featureFlagModule.setValueForFeatureFlag('tweetdeck_gryphon_beta_enabled', false); featureFlagModule.setValueForFeatureFlag('tweetdeck_gryphon_beta_bypass_enabled', false); });