From 38a13b07c55dd69f555407cc7fbe512ce3181bd1 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 18 Jul 2023 18:45:38 +0800 Subject: [PATCH] Fix boost menu bug --- src/components/status.jsx | 70 ++++++++++++++++++--------------------- 1 file changed, 32 insertions(+), 38 deletions(-) diff --git a/src/components/status.jsx b/src/components/status.jsx index 585655bb..2524b0c0 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -538,7 +538,7 @@ function Status({ confirmLabel={ <> - Unboost? + {reblogged ? 'Unboost?' : 'Boost to everyone?'} } menuFooter={ @@ -1239,44 +1239,38 @@ function Status({ disabled={!canBoost} /> */} - ( -
- -
- )} + + + {reblogged ? 'Unboost?' : 'Boost to everyone?'} + + } + menuFooter={ + mediaNoDesc && + !reblogged && ( + + ) + } > - - - Boost to everyone? - - {mediaNoDesc && ( - - )} -
+
+ +
+