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

24 lines
896 B
TypeScript
Raw Normal View History

// Module ID: 10995
// Function ID: 10996
2026-07-20 16:05:17 +00:00
// Name: showThreadBrowserModal
// Dependencies: [10948, 7795, 4432, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 10995 (showThreadBrowserModal)
import RootNavigationRef from "RootNavigationRef" /* 4432 */;
import ThreadUtils from "ThreadUtils" /* 7795 */;
import ChannelDetailsConstants from "ChannelDetailsConstants" /* 10948 */;
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) {
const result = ThreadUtils.trackThreadBrowserOpened();
const rootNavigationRef = RootNavigationRef.getRootNavigationRef();
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
}
};