Skip to content

Conversation

@jeremypw
Copy link
Contributor

@jeremypw jeremypw commented Oct 30, 2025

Fixes #695 (finally)

  • Gets destination image the same way as source icon; in file ready callback.
  • Improves code style by moving code out or create function to construct clause.

@jeremypw jeremypw added this to the 7.2.0 milestone Oct 30, 2025
@jeremypw jeremypw marked this pull request as ready for review October 31, 2025 13:06
@jeremypw jeremypw requested a review from a team October 31, 2025 13:08

public Files.File source { get; construct; }
public Files.File destination { get; construct; }
public Files.File dest_dir { get; construct; }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should be private get, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought construct properties had to be public get but maybe I'm wrong - I'll check. There's probably a lot of other instances with this pattern in my code!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems you are right - I've learnt something, thanks. Now fixed.

@jeremypw jeremypw requested a review from lenemter November 7, 2025 13:07
Copy link
Member

@lenemter lenemter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes the liked issue! Good job 🎉

@lenemter lenemter merged commit e5e898e into main Nov 7, 2025
4 checks passed
@lenemter lenemter deleted the jeremypw/fix-icon-in-replace-dialog branch November 7, 2025 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No icon of original file in replace dialog

3 participants