Skip to content

fix: remove background image doesn't work#360

Merged
eagleoflqj merged 2 commits intomasterfrom
image
Apr 19, 2026
Merged

fix: remove background image doesn't work#360
eagleoflqj merged 2 commits intomasterfrom
image

Conversation

@eagleoflqj
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes propagation of “local image” selection changes in the config UI so clearing/removing a background image correctly updates the underlying option value.

Changes:

  • Removes a didSet observer from an @State property (file) and uses a SwiftUI .onChange(of:) handler instead.
  • Ensures updates to the selected local image filename (including clearing it) propagate to the bound config value.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/config/ImageView.swift Outdated
@github-actions
Copy link
Copy Markdown

arm64 comparison

No difference.

x86_64 comparison

No difference.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@eagleoflqj eagleoflqj merged commit 98666cf into master Apr 19, 2026
7 checks passed
@eagleoflqj eagleoflqj deleted the image branch April 19, 2026 02:11
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.

2 participants