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

refactor ChapterOptions #126

Merged
merged 7 commits into from
Jan 24, 2022
Merged

Conversation

ff2400t
Copy link
Contributor

@ff2400t ff2400t commented Jan 22, 2022

  • Added useReducerLocalStorage
  • Moved the Logic of ChapterOptions to a reducer
  • Moved the filter logic from ChapterList to seperate util file
  • Moved the ResumeFAB to seperate file

This is mostly  a refactor of ChapterOptions to simplify it with  a reducer function
Also moved a lot of function used in ChaperList to a utility file
src/components/chapter/util.tsx Outdated Show resolved Hide resolved
src/typings.d.ts Outdated Show resolved Hide resolved
src/components/chapter/ResumeFAB.tsx Outdated Show resolved Hide resolved
Copy link
Member

@AriaMoradi AriaMoradi left a comment

Choose a reason for hiding this comment

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

Resolve the merge conflict

@AriaMoradi AriaMoradi changed the title Refactor of the for ChapterOptions refactor ChapterOptions Jan 23, 2022
@AriaMoradi AriaMoradi merged commit aaaadeb into Suwayomi:master Jan 24, 2022
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