mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: show loading spinner instead of error for HEIC preview, default fullscreen details to visible
Replace static "Preview not available" and "Cannot preview this image format" messages with a loading spinner in ImageViewer and SplitCanvas, since HEIC files get server-side conversion and the preview appears after a few seconds. Also default showDetails to true on /fullscreen.
This commit is contained in:
@@ -11,7 +11,7 @@ import { useFeaturesStore } from "@/stores/features-store";
|
||||
|
||||
export function FullscreenGridPage() {
|
||||
const [search, setSearch] = useState("");
|
||||
const [showDetails, setShowDetails] = useState(false);
|
||||
const [showDetails, setShowDetails] = useState(true);
|
||||
const navigate = useNavigate();
|
||||
const [disabledTools, setDisabledTools] = useState<string[]>([]);
|
||||
const [experimentalEnabled, setExperimentalEnabled] = useState(false);
|
||||
|
||||
Reference in New Issue
Block a user