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

24 lines
881 B
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 9622
// Function ID: 9623
2026-07-20 16:05:17 +00:00
// Name: showThreadBrowserModal
2026-08-05 07:35:12 +00:00
// Dependencies: [9559, 7134, 4107, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-05 07:35:12 +00:00
// Module 9622 (showThreadBrowserModal)
2026-07-23 10:11:24 +00:00
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-08-05 07:35:12 +00:00
let obj = require(7134) /* getAccessibilityLabelFormatter */;
2026-07-20 16:05:17 +00:00
const result = obj.trackThreadBrowserOpened();
2026-08-05 07:35:12 +00:00
const rootNavigationRef = require(4107) /* getRootNavigationRef */.getRootNavigationRef();
const obj2 = require(4107) /* getRootNavigationRef */;
2026-07-20 16:05:17 +00:00
if (tmp2) {
2026-07-29 08:29:29 +00:00
obj = { channelId: null, initialRouteName: null };
obj[0] = id.id;
obj[1] = constants.THREADS;
2026-07-20 16:05:17 +00:00
rootNavigationRef.navigate("sidebar", obj);
}
};