Skip to content

Commit

Permalink
Merge branch 'main' into fix/57984
Browse files Browse the repository at this point in the history
  • Loading branch information
nkdengineer committed Mar 7, 2025
2 parents 2ee152d + 21f85e3 commit 4bcff74
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Mobile-Expensify
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled rootProject.ext.multiDexEnabled
versionCode 1009011000
versionName "9.1.10-0"
versionCode 1009011002
versionName "9.1.10-2"
// Supported language variants must be declared here to avoid from being removed during the compilation.
// This also helps us to not include unnecessary language variants in the APK.
resConfigs "en", "es"
Expand Down
2 changes: 1 addition & 1 deletion ios/NewExpensify/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>9.1.10.0</string>
<string>9.1.10.2</string>
<key>FullStory</key>
<dict>
<key>OrgId</key>
Expand Down
2 changes: 1 addition & 1 deletion ios/NewExpensifyTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>9.1.10.0</string>
<string>9.1.10.2</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion ios/NotificationServiceExtension/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundleShortVersionString</key>
<string>9.1.10</string>
<key>CFBundleVersion</key>
<string>9.1.10.0</string>
<string>9.1.10.2</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "new.expensify",
"version": "9.1.10-0",
"version": "9.1.10-2",
"author": "Expensify, Inc.",
"homepage": "https://new.expensify.com",
"description": "New Expensify is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.",
Expand Down
5 changes: 2 additions & 3 deletions src/libs/Navigation/helpers/isSearchTopmostFullScreenRoute.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {navigationRef} from '@libs/Navigation/Navigation';
import type {RootNavigatorParamList, State} from '@libs/Navigation/types';
import SCREENS from '@src/SCREENS';
import NAVIGATORS from '@src/NAVIGATORS';
import {isFullScreenName} from './isNavigatorName';

const isSearchTopmostFullScreenRoute = (): boolean => {
Expand All @@ -9,8 +9,7 @@ const isSearchTopmostFullScreenRoute = (): boolean => {
if (!rootState) {
return false;
}

return rootState.routes.findLast((route) => isFullScreenName(route.name))?.name === SCREENS.SEARCH.ROOT;
return rootState.routes.findLast((route) => isFullScreenName(route.name))?.name === NAVIGATORS.SEARCH_FULLSCREEN_NAVIGATOR;
};

export default isSearchTopmostFullScreenRoute;
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ function BaseReportActionContextMenu({
let filteredContextMenuActions = ContextMenuActions.filter(
(contextAction) =>
!disabledActions.includes(contextAction) &&
reportID &&
contextAction.shouldShow({
type,
reportAction,
Expand Down
5 changes: 3 additions & 2 deletions src/pages/home/report/ContextMenu/ContextMenuActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ type ShouldShow = (args: {
betas: OnyxEntry<Beta[]>;
menuTarget: MutableRefObject<ContextMenuAnchor> | undefined;
isChronosReport: boolean;
reportID: string;
reportID?: string;
isPinnedChat: boolean;
isUnreadChat: boolean;
isThreadReportParentAction: boolean;
Expand Down Expand Up @@ -269,7 +269,7 @@ const ContextMenuActions: ContextMenuAction[] = [
textTranslateKey: 'reportActionContextMenu.replyInThread',
icon: Expensicons.ChatBubbleReply,
shouldShow: ({type, reportAction, reportID, isThreadReportParentAction}) => {
if (type !== CONST.CONTEXT_MENU_TYPES.REPORT_ACTION) {
if (type !== CONST.CONTEXT_MENU_TYPES.REPORT_ACTION || !reportID) {
return false;
}
return !shouldDisableThread(reportAction, reportID, isThreadReportParentAction);
Expand Down Expand Up @@ -755,6 +755,7 @@ const ContextMenuActions: ContextMenuAction[] = [
icon: Expensicons.Trashcan,
shouldShow: ({type, reportAction, isArchivedRoom, isChronosReport, reportID, moneyRequestAction}) =>
// Until deleting parent threads is supported in FE, we will prevent the user from deleting a thread parent
!!reportID &&
type === CONST.CONTEXT_MENU_TYPES.REPORT_ACTION &&
canDeleteReportAction(moneyRequestAction ?? reportAction, reportID) &&
!isArchivedRoom &&
Expand Down

0 comments on commit 4bcff74

Please sign in to comment.