23 lines
881 B
TypeScript
23 lines
881 B
TypeScript
// Module ID: 9622
|
|
// Function ID: 9623
|
|
// Name: showThreadBrowserModal
|
|
// Dependencies: [9559, 7134, 4107, 2]
|
|
// Exports: default
|
|
|
|
// Module 9622 (showThreadBrowserModal)
|
|
import { ChannelDetailsNavigatorScreens as closure_2 } from "ChannelDetailsNavigatorScreens";
|
|
|
|
let result = require("getRootNavigationRef").fileFinishedImporting("modules/threads/native/showThreadBrowserModal.tsx");
|
|
|
|
export default function showThreadBrowserModal(id) {
|
|
let obj = require(7134) /* getAccessibilityLabelFormatter */;
|
|
const result = obj.trackThreadBrowserOpened();
|
|
const rootNavigationRef = require(4107) /* getRootNavigationRef */.getRootNavigationRef();
|
|
const obj2 = require(4107) /* getRootNavigationRef */;
|
|
if (tmp2) {
|
|
obj = { channelId: null, initialRouteName: null };
|
|
obj[0] = id.id;
|
|
obj[1] = constants.THREADS;
|
|
rootNavigationRef.navigate("sidebar", obj);
|
|
}
|
|
};
|