From 391cd0bd486290f37b1692d3e61c8ce5c3306506 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cli-peifeng=E2=80=9D?= Date: Sun, 5 Jan 2025 14:19:49 +0100 Subject: [PATCH] isweet --- src/pages/home/folder/Folder.tsx | 16 ++++++++-------- src/pages/home/folder/Grid.tsx | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) 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"