fix: linting

This commit is contained in:
Fredrik Burmester
2025-11-07 16:12:03 +01:00
parent 5432476ca1
commit 51a14c6058

View File

@@ -115,12 +115,12 @@ export const HomeIndex = () => {
onPress={() => {
router.push("/(auth)/downloads");
}}
className='p-2'
className='ml-1.5'
>
<Feather
name='download'
color={hasDownloads ? Colors.primary : "white"}
size={22}
size={24}
/>
</TouchableOpacity>
),
@@ -329,7 +329,7 @@ export const HomeIndex = () => {
const customSections = useMemo(() => {
if (!api || !user?.Id || !settings?.home?.sections) return [];
const ss: Section[] = [];
for (const [index, section] of settings.home.sections.entries()) {
settings.home.sections.forEach((section, index) => {
const id = section.title || `section-${index}`;
ss.push({
title: t(`${id}`),
@@ -384,7 +384,7 @@ export const HomeIndex = () => {
type: "ScrollingCollectionList",
orientation: section?.orientation || "vertical",
});
}
});
return ss;
}, [api, user?.Id, settings?.home?.sections]);