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

2350: Refactor settings and remove SectionList #2965

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

steffenkleinle
Copy link
Member

Short description

Refactor settings and remove SectionList.

Proposed changes

  • Remove unnecessary SectionList
  • Simplify createSettingsSection and Settings

Side effects

None.

Testing

Check that all settings still work.

Resolved issues

Fixes: #2350.


await unsubscribeNews(cityCode, languageCode)
return
}
}: CreateSettingsSectionsProps): (SettingsSectionType | null)[] => [
Copy link
Member Author

Choose a reason for hiding this comment

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

Just removed the wrapping/section list props

@steffenkleinle steffenkleinle changed the title 2350: Refactor settings and remove SectionList #2964 2350: Refactor settings and remove SectionList Oct 18, 2024
Copy link
Contributor

@LeandraH LeandraH left a comment

Choose a reason for hiding this comment

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

Nice! Tested in real iOS and emulated Android

Base automatically changed from 2350-pn-permission-settings to main November 11, 2024 12:44
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