warpdesign / react-explorer

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

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

Closed warpdesign closed 5 months ago

warpdesign commented 5 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.