decord/source/modules/threads/native/showThreadBrowserModal.tsx

22 lines
846 B
TypeScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 10098
// Function ID: 78197
2026-07-20 16:05:17 +00:00
// Name: showThreadBrowserModal
2026-07-23 10:11:24 +00:00
// Dependencies: [9102, 7023, 3982, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-23 10:11:24 +00:00
// Module 10098 (showThreadBrowserModal)
import { ChannelDetailsNavigatorScreens as closure_2 } from "ChannelDetailsNavigatorScreens";
let result = require("getRootNavigationRef").fileFinishedImporting("modules/threads/native/showThreadBrowserModal.tsx");
2026-07-20 16:05:17 +00:00
export default function showThreadBrowserModal(id) {
2026-07-23 10:11:24 +00:00
let obj = require(7023) /* getAccessibilityLabelFormatter */;
2026-07-20 16:05:17 +00:00
const result = obj.trackThreadBrowserOpened();
2026-07-23 10:11:24 +00:00
const rootNavigationRef = require(3982) /* getRootNavigationRef */.getRootNavigationRef();
const obj2 = require(3982) /* getRootNavigationRef */;
2026-07-20 16:05:17 +00:00
if (tmp2) {
obj = { channelId: id.id, initialRouteName: constants.THREADS };
rootNavigationRef.navigate("sidebar", obj);
}
};