Page MenuHomePhabricator

D10021.id33904.diff
No OneTemporary

D10021.id33904.diff

diff --git a/native/chat/message-list-types.js b/native/chat/message-list-types.js
--- a/native/chat/message-list-types.js
+++ b/native/chat/message-list-types.js
@@ -1,5 +1,6 @@
// @flow
+import type { TabAction } from '@react-navigation/core';
import { useNavigation, useNavigationState } from '@react-navigation/native';
import invariant from 'invariant';
import * as React from 'react';
@@ -26,7 +27,7 @@
};
export type RemoveEditMode = (
- action: ChatRouterNavigationAction,
+ action: TabAction | ChatRouterNavigationAction,
) => 'ignore_action' | 'reduce_action';
export type MessageListContextType = {
diff --git a/native/navigation/nav-selectors.js b/native/navigation/nav-selectors.js
--- a/native/navigation/nav-selectors.js
+++ b/native/navigation/nav-selectors.js
@@ -42,7 +42,7 @@
MessageResultsScreenRouteName,
MessageSearchRouteName,
} from './route-names.js';
-import type { RemoveEditMode } from '../chat/message-list-types';
+import type { RemoveEditMode } from '../chat/message-list-types.js';
import { useSelector } from '../redux/redux-utils.js';
import type { NavPlusRedux } from '../types/selector-types.js';

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 1:21 PM (19 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2586514
Default Alt Text
D10021.id33904.diff (1 KB)

Event Timeline