MediaAttachmentGrid: moved into toots

This commit is contained in:
thislight 2024-11-22 14:53:23 +08:00
parent cac0abeb6b
commit ade7df2234
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E
3 changed files with 5 additions and 5 deletions

View file

@ -29,7 +29,7 @@ import { resolveCustomEmoji } from "../masto/toot.js";
import { Divider } from "@suid/material"; import { Divider } from "@suid/material";
import cardStyle from "../material/cards.module.css"; import cardStyle from "../material/cards.module.css";
import Button from "../material/Button.js"; import Button from "../material/Button.js";
import MediaAttachmentGrid from "./MediaAttachmentGrid.js"; import MediaAttachmentGrid from "./toots/MediaAttachmentGrid.jsx";
import { useDateFnLocale } from "../platform/i18n"; import { useDateFnLocale } from "../platform/i18n";
import { canShare, share } from "../platform/share"; import { canShare, share } from "../platform/share";
import { makeAcctText, useDefaultSession } from "../masto/clients"; import { makeAcctText, useDefaultSession } from "../masto/clients";

View file

@ -10,17 +10,17 @@ import {
onCleanup, onCleanup,
untrack, untrack,
} from "solid-js"; } from "solid-js";
import MediaViewer from "./MediaViewer"; import MediaViewer from "../MediaViewer";
import { render } from "solid-js/web"; import { render } from "solid-js/web";
import { import {
createElementSize, createElementSize,
useWindowSize, useWindowSize,
} from "@solid-primitives/resize-observer"; } from "@solid-primitives/resize-observer";
import { useStore } from "@nanostores/solid"; import { useStore } from "@nanostores/solid";
import { $settings } from "../settings/stores"; import { $settings } from "../../settings/stores";
import { averageColorHex } from "../platform/blurhash"; import { averageColorHex } from "../../platform/blurhash";
import "./MediaAttachmentGrid.css"; import "./MediaAttachmentGrid.css";
import cardStyle from "../material/cards.module.css"; import cardStyle from "../../material/cards.module.css";
import { Preview } from "@suid/icons-material"; import { Preview } from "@suid/icons-material";
import { IconButton } from "@suid/material"; import { IconButton } from "@suid/material";