Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/1577 - update bindings when preferences change #1691

Merged
merged 4 commits into from
Dec 31, 2020

Conversation

andydotxyz
Copy link
Member

Ensure that changes to preferences will reflect in bound preferences
Tidy preferences, remove iOS specifics.
It is a breaking change for iOS users, but was necessary to enable the things we have planned in 2.0.

Fixes #1577

Checklist:

  • Tests included.
  • Lint and formatter run with no errors.
  • Tests all pass.
  • Public APIs match existing style.
  • Any breaking changes have a deprecation path or have been discussed.

This was getting in the way of preference listeners, so nuke it.
This is a breaking change because iOS apps will lose their preferences on this upgrade
This allows thepreference bindings to fire when the source preference is changed.
Fixes #fyne-io#1577
Also better handle the test situation where we keep making new preferences to bind to
@andydotxyz andydotxyz merged commit 77a1985 into fyne-io:develop Dec 31, 2020
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