From 16449992f07e7d89a4dca7ef17fc72023e50a6b0 Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 21 Nov 2024 14:50:58 +0000 Subject: [PATCH 1/3] Fix Boost Again button https://gitlab.com/minds/mobile-native/-/issues/5644 --- .../boost/boost-console/components/v3/Boost.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/modules/boost/boost-console/components/v3/Boost.tsx b/src/modules/boost/boost-console/components/v3/Boost.tsx index 37d3710d4..5f581205c 100644 --- a/src/modules/boost/boost-console/components/v3/Boost.tsx +++ b/src/modules/boost/boost-console/components/v3/Boost.tsx @@ -60,6 +60,15 @@ const Rejection = ({ boost }: BoostProps) => { const wasWrongAudience = boost.rejection_reason === BoostRejectionReason.WRONG_AUDIENCE; + if (!boost?.entity) { + return null; + } + + let entity: ActivityModel | UserModel = + boost.target_location === BoostTargetLocation.newsfeed + ? ActivityModel.create(boost.entity) + : UserModel.create(boost.entity); + return ( {t('Reason for rejection')} @@ -69,7 +78,7 @@ const Rejection = ({ boost }: BoostProps) => { navigation?.navigate('BoostScreenV2', { - entity: boost.entity, + entity: entity, boostType: boost.target_location === BoostTargetLocation.newsfeed ? 'post' From 09773315f5727039758668780bfcb1f562826691 Mon Sep 17 00:00:00 2001 From: Ben Date: Wed, 27 Nov 2024 10:04:34 +0000 Subject: [PATCH 2/3] Fix Composer button long press inconsistency #5643 --- src/capture/CaptureFab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/capture/CaptureFab.tsx b/src/capture/CaptureFab.tsx index d64ac0d88..46e297a97 100644 --- a/src/capture/CaptureFab.tsx +++ b/src/capture/CaptureFab.tsx @@ -41,7 +41,7 @@ const CaptureFab = ({ navigation, group, testID }: CaptureFabProps) => { return ( From 0c2420d2bf2b3f36e2c7d68568cec5a1e3ae607f Mon Sep 17 00:00:00 2001 From: Mark Harding Date: Wed, 27 Nov 2024 10:14:47 +0000 Subject: [PATCH 3/3] (chore): Bump to 5.4.0 --- app.constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.constants.js b/app.constants.js index 2b444bba9..9abba1282 100644 --- a/app.constants.js +++ b/app.constants.js @@ -3,7 +3,7 @@ * This should be updated after each release */ const CONSTANTS = { - APP_VERSION: '5.3.0', + APP_VERSION: '5.4.0', }; module.exports = CONSTANTS;