-
Notifications
You must be signed in to change notification settings - Fork 195
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
Small changes following faster global search pr #1320
Conversation
@@ -163,7 +163,7 @@ const initialAppSettings: AppSettings = { | |||
const initialBrowseSettings: BrowseSettings = { | |||
showMyAnimeList: true, | |||
showAniList: true, | |||
globalSearchConcurrency: 1, | |||
globalSearchConcurrency: 3, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
most phones should be able to handle 3 and the first few concurrency increases makes a massive difference in loading time so may as well increase default
import { useAppSettings } from '@hooks/persisted'; | ||
import { interpolateColor } from 'react-native-reanimated'; | ||
|
||
const useLoadingColors = (theme: ThemeColors) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
renamed to use cus of the useAppSettings inside
@@ -68,7 +68,7 @@ const NovelInformation = memo(() => ( | |||
</View> | |||
)); | |||
|
|||
const ChapterItem = memo(({ index }: { index: number }) => ( | |||
const ChapterItem = memo(() => ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lint was mad at unused variable so i removed it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe lint gives problems because Traitor latest commit bypassed lint verification.
What the colour looks like for loading stuff: