19 lines
637 B
TypeScript
19 lines
637 B
TypeScript
// Metro module 6690 (f6691).
|
|
import { Routes } from "../../Constants";
|
|
import { getChannelIdForGuildTransition } from "./getChannelIdForGuildTransition";
|
|
import { DeprecatedLayoutAnimation } from "../animations/native/DeprecatedLayoutAnimation";
|
|
import { transitionTo } from "./router_utils";
|
|
export function transitionToGuild(a0, a1) {
|
|
const channelIdForGuildTransition = getChannelIdForGuildTransition(a0);
|
|
DeprecatedLayoutAnimation({
|
|
duration: 0,
|
|
create: void 0,
|
|
update: void 0,
|
|
delete: void 0
|
|
});
|
|
transitionTo(Routes.CHANNEL(a0, channelIdForGuildTransition), {
|
|
navigationReplace: true,
|
|
...a1
|
|
});
|
|
}
|