warpdesign / react-explorer

File manager written in TypeScript, React, Blueprint and packaged with Electron
MIT License
232 stars 34 forks source link

PreviewDialog: don't refresh preview unless file uri has changed #447

Closed warpdesign closed 4 months ago

warpdesign commented 4 months ago

This fixes a glitch that appeared on Windows where FS changes everytime a file is accessed.

Problem also appeared on Unix if the folder was updated.

This commit also fixes the NoPreview date/size that wasn't always updated.