Skip to content

fix(TweetsSettingsViewController): Add missing switchChanged: method#87

Open
teslamint wants to merge 1 commit into
NeoFreeBird:masterfrom
teslamint:tweets-settings-switchchanged
Open

fix(TweetsSettingsViewController): Add missing switchChanged: method#87
teslamint wants to merge 1 commit into
NeoFreeBird:masterfrom
teslamint:tweets-settings-switchchanged

Conversation

@teslamint
Copy link
Copy Markdown

TweetsSettingsViewController registered switchChanged: as the UIControlEventValueChanged action for every toggle cell but never implemented the method, causing an unrecognized selector crash whenever any toggle in the Tweets settings screen was changed (e.g. 'Save tweet as image').

The method was present in all other section controllers (TwitterBlueSettingsViewController, MediaDownloadsSettingsViewController, ProfilesSettingsViewController, MessagesSettingsViewController) but was accidentally omitted from TweetsSettingsViewController during a prior cleanup refactor that removed the old_style toggle.

Assisted-by: Claude Sonnet 4 via Claude Code

TweetsSettingsViewController registered switchChanged: as the UIControlEventValueChanged
action for every toggle cell but never implemented the method, causing an
unrecognized selector crash whenever any toggle in the Tweets settings screen
was changed (e.g. 'Save tweet as image').

The method was present in all other section controllers
(TwitterBlueSettingsViewController, MediaDownloadsSettingsViewController,
ProfilesSettingsViewController, MessagesSettingsViewController) but was
accidentally omitted from TweetsSettingsViewController during a prior
cleanup refactor that removed the old_style toggle.

Assisted-by: Claude Sonnet 4 via Claude Code
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.

1 participant