Skip to content

Fix: Prevent modal preference bug from causing dotfile sync issues #66

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Noir-GG-p
Copy link

@Noir-GG-p Noir-GG-p commented Jun 24, 2025

Description:
This PR resolves a bug where modal preferences were not correctly updating, which could interfere with dotfile synchronization and other UI-dependent switches.
The issue was caused by the switch states not being properly updated when the user made selections.

Changes:
Corrected the state management of switches.

Ensured UI updates complete properly after initialization.

Aligned the modal preference handling with expected behavior.

Related Issue:
Closes #56 — Dotfile Sync does not work if one added file is missing

Noir-GG-p and others added 2 commits June 24, 2025 16:41
Added a new testSwitch UI element to the teaBASE class.

Implemented the onTestSwitchChanged: method to handle state changes of the switch.

The method logs whether the switch is ON or OFF to the console for testing purposes.
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.

Dotfile Sync does not work if one added files is missing
1 participant