decord/source/modules/threads/native/showThreadBrowserModal.tsx
2026-08-13 07:00:46 +00:00

23 lines
881 B
TypeScript

// Module ID: 9785
// Function ID: 9786
// Name: showThreadBrowserModal
// Dependencies: [9718, 7285, 4198, 2]
// Exports: default
// Module 9785 (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(7285) /* getAccessibilityLabelFormatter */;
const result = obj.trackThreadBrowserOpened();
const rootNavigationRef = require(4198) /* getRootNavigationRef */.getRootNavigationRef();
const obj2 = require(4198) /* getRootNavigationRef */;
if (tmp2) {
obj = { channelId: null, initialRouteName: null };
obj[0] = id.id;
obj[1] = constants.THREADS;
rootNavigationRef.navigate("sidebar", obj);
}
};