From 1c83f042bd1e3a01b2cf55b78b0bb277c0f7e431 Mon Sep 17 00:00:00 2001 From: Kenneth Date: Thu, 26 Sep 2024 23:17:04 +0100 Subject: [PATCH] fix: dark mode --- app/(tabs)/about.tsx | 8 +++++--- app/(tabs)/index.tsx | 5 +++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/app/(tabs)/about.tsx b/app/(tabs)/about.tsx index edc0b2a..123b99f 100644 --- a/app/(tabs)/about.tsx +++ b/app/(tabs)/about.tsx @@ -5,7 +5,9 @@ import * as Linking from "expo-linking"; export default function AboutPage() { return ( - About + + About + - {title} - {description} + {title} + {description} ); diff --git a/app/(tabs)/index.tsx b/app/(tabs)/index.tsx index 6730dea..60d0484 100644 --- a/app/(tabs)/index.tsx +++ b/app/(tabs)/index.tsx @@ -29,7 +29,8 @@ export default function HomeScreen() { const images: ImageAsset[] = await res.json(); setImages(images); setIsLoading(false); - } catch { + } catch (err) { + console.log(err); Alert.alert( "Unable to fetch wallpaper", "Check your internet connection. Otherwise, it's probably our fault.", @@ -50,7 +51,7 @@ export default function HomeScreen() { data={images} numColumns={2} ListHeaderComponent={() => ( - + Wallpapers )}