Skip to content

Commit

Permalink
fix: cloudsync hotfix (hopefully)
Browse files Browse the repository at this point in the history
  • Loading branch information
pylixonly committed Jul 30, 2024
1 parent 605685e commit 89035fe
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,21 @@ export * as ui from "./ui";
export * as utils from "./utils";
export * as metro from "@metro";

import * as fonts from "./fonts";
import * as plugins from "./plugins";
import * as themes from "./themes";
import { proxyLazy } from "./utils/lazy";

export const managers = proxyLazy(() => {
console.warn("bunny.managers.* is deprecated, and moved the top level (bunny.*). bunny.manager will be eventually removed soon");

return {
get fonts() { return fonts; },
get plugins() { return plugins; },
get themes() { return themes; }
};
}, { hint: "object" });

const _disposer = [] as Array<() => unknown>;

export function unload() {
Expand Down

0 comments on commit 89035fe

Please sign in to comment.