Skip to content

Commit 8f89d87

Browse files
committed
Fix default file name when saving wallpaper
1 parent fc59a36 commit 8f89d87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ window.systemHookDefaults = {
330330
setWallpaperCentered: (canvas) => {
331331
systemHooks.showSaveFileDialog({
332332
dialogTitle: localize("Save As"),
333-
defaultName: `${file_name.replace(/\.(bmp|dib|a?png|gif|jpe?g|jpe|jfif|tiff?|webp|raw)$/i, "")} wallpaper.png`,
333+
defaultFileName: `${file_name.replace(/\.(bmp|dib|a?png|gif|jpe?g|jpe|jfif|tiff?|webp|raw)$/i, "")} wallpaper.png`,
334334
defaultFileFormatID: "image/png",
335335
formats: image_formats,
336336
getBlob: (new_file_type) => {

0 commit comments

Comments
 (0)