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

24 lines
881 B
TypeScript
Raw Normal View History

2026-08-06 08:05:19 +00:00
// Module ID: 9653
// Function ID: 9654
2026-07-20 16:05:17 +00:00
// Name: showThreadBrowserModal
2026-08-06 08:05:19 +00:00
// Dependencies: [9588, 7161, 4136, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-06 08:05:19 +00:00
// Module 9653 (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-06 08:05:19 +00:00
let obj = require(7161) /* getAccessibilityLabelFormatter */;
2026-07-20 16:05:17 +00:00
const result = obj.trackThreadBrowserOpened();
2026-08-06 08:05:19 +00:00
const rootNavigationRef = require(4136) /* getRootNavigationRef */.getRootNavigationRef();
const obj2 = require(4136) /* 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);
}
};