Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3374029
D10021.id33904.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D10021.id33904.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D10021: [Flow202][native][skip-ci] [37/x] Allow removeEditMode to take a TabAction
Attached
Detach File
Event Timeline
Log In to Comment