25 lines
885 B
TypeScript
25 lines
885 B
TypeScript
// Module ID: 11119
|
|
// Function ID: 11120
|
|
// Name: openPinnedMessages
|
|
// Dependencies: [10574, 4300, 2]
|
|
// Exports: default
|
|
|
|
// Module 11119 (openPinnedMessages)
|
|
import set from "set" /* 2 */;
|
|
import getRootNavigationRef from "getRootNavigationRef" /* 4300 */;
|
|
import ChannelDetailsNavigatorScreens from "ChannelDetailsNavigatorScreens" /* 10574 */;
|
|
|
|
let closure_2 = ChannelDetailsNavigatorScreens.ChannelDetailsNavigatorScreens;
|
|
const result = set.fileFinishedImporting("modules/messages/native/openPinnedMessages.tsx");
|
|
|
|
export default function openPinnedMessages(arg0, arg1) {
|
|
let obj = getRootNavigationRef;
|
|
const rootNavigationRef = obj.getRootNavigationRef();
|
|
if (tmp) {
|
|
obj = { initialRouteName: null, channelId: null, source: null };
|
|
obj[0] = constants.PINNED_MESSAGES;
|
|
obj[1] = arg0;
|
|
obj[2] = arg1;
|
|
rootNavigationRef.navigate("sidebar", obj);
|
|
}
|
|
};
|