14 lines
570 B
TypeScript
14 lines
570 B
TypeScript
// Metro module 9513 (f9514).
|
|
import { ChannelDetailsNavigatorScreens } from "../../main_tabs_v2/native/sidebar/details/ChannelDetailsConstants";
|
|
import { getRootNavigationRef } from "../../main_tabs_v2/RootNavigationRef.native";
|
|
export default function openPinnedMessages(a0, a1) {
|
|
const rootNavigationRef = getRootNavigationRef();
|
|
if (rootNavigationRef != null && rootNavigationRef.isReady()) {
|
|
rootNavigationRef.navigate("sidebar", {
|
|
initialRouteName: ChannelDetailsNavigatorScreens.PINNED_MESSAGES,
|
|
channelId: a0,
|
|
source: a1
|
|
});
|
|
}
|
|
};
|