diff --git a/src/pages/home/folder/Folder.tsx b/src/pages/home/folder/Folder.tsx index 66e98c7bd7..4dd3b35ad9 100644 --- a/src/pages/home/folder/Folder.tsx +++ b/src/pages/home/folder/Folder.tsx @@ -14,14 +14,14 @@ import { useLink, useT } from "~/hooks" import { objStore } from "~/store" import { ObjType } from "~/types" import { bus } from "~/utils" -import lightGallery from "sweetphotos" -import lgThumbnail from "sweetphotos/plugins/thumbnail" -import lgZoom from "sweetphotos/plugins/zoom" -import lgRotate from "sweetphotos/plugins/rotate" -import lgAutoplay from "sweetphotos/plugins/autoplay" -import lgFullscreen from "sweetphotos/plugins/fullscreen" -import "sweetphotos/css/lightgallery-bundle.css" -import { LightGallery } from "sweetphotos/lightgallery" +import lightGallery from "iphotos" +import lgThumbnail from "iphotos/plugins/thumbnail" +import lgZoom from "iphotos/plugins/zoom" +import lgRotate from "iphotos/plugins/rotate" +import lgAutoplay from "iphotos/plugins/autoplay" +import lgFullscreen from "iphotos/plugins/fullscreen" +import "iphotos/css/lightgallery-bundle.css" +import { LightGallery } from "iphotos/lightgallery" import { Search } from "./Search" const ListLayout = lazy(() => import("./List")) diff --git a/src/pages/home/folder/Grid.tsx b/src/pages/home/folder/Grid.tsx index f33239e093..ad0745454d 100644 --- a/src/pages/home/folder/Grid.tsx +++ b/src/pages/home/folder/Grid.tsx @@ -1,7 +1,7 @@ import { Grid } from "@hope-ui/solid" import { For } from "solid-js" import { GridItem } from "./GridItem" -import "sweetphotos/css/lightgallery-bundle.css" +import "iphotos/css/lightgallery-bundle.css" import { local, objStore } from "~/store" import { useSelectWithMouse } from "./helper"