Page MenuHomePhabricator

D10021.id.diff
No OneTemporary

D10021.id.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
Tue, Nov 26, 10:13 PM (11 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2586514
Default Alt Text
D10021.id.diff (1 KB)

Event Timeline