refactor: use display_name for wallpaper name

This commit is contained in:
2024-09-25 20:20:44 +01:00
parent 423db6dc1e
commit f275437fb6
3 changed files with 3 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ export default function WallpaperPage() {
return null;
}
const imageName = selectedWallpaper.public_id.replace("wallpaper/", "");
const imageName = selectedWallpaper.display_name;
async function downloadWallpaper() {
if (!selectedWallpaper) {