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

27 lines
1,009 B
TypeScript
Raw Normal View History

2026-10-06 11:16:32 +00:00
// Module ID: 10712
// Function ID: 10713
2026-07-20 16:05:17 +00:00
// Name: showThreadBrowserModal
2026-10-06 11:16:32 +00:00
// Dependencies: [10666, 7420, 4743, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-10-06 11:16:32 +00:00
// Module 10712 (showThreadBrowserModal)
import RootNavigationRef from "RootNavigationRef" /* 4743 */;
import ThreadUtils from "ThreadUtils" /* 7420 */;
import ChannelDetailsConstants from "ChannelDetailsConstants" /* 10666 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const constants = ChannelDetailsConstants.ChannelDetailsNavigatorScreens;
let result = size.fileFinishedImporting("modules/threads/native/showThreadBrowserModal.tsx");
2026-07-20 16:05:17 +00:00
export default function showThreadBrowserModal(id) {
2026-10-03 08:58:59 +00:00
const obj = ThreadUtils;
const result = obj.trackThreadBrowserOpened();
const obj2 = RootNavigationRef;
const rootNavigationRef = obj2.getRootNavigationRef();
const tmp2 = null != rootNavigationRef && rootNavigationRef.isReady();
2026-07-20 16:05:17 +00:00
if (tmp2) {
const obj3 = { channelId: id.id, initialRouteName: constants.THREADS };
rootNavigationRef.navigate("sidebar", obj3);
2026-07-20 16:05:17 +00:00
}
};