Fix text color in App.tsx fatal error message

This commit is contained in:
Brandon Presley 2023-11-15 11:52:31 +13:00
parent 7a24d844c5
commit 50b3a2ef3d
1 changed files with 4 additions and 1 deletions

View File

@ -97,7 +97,10 @@ const App = () => {
style={{ flex: 1, justifyContent: "center", alignItems: "center" }}
>
<Text
style={{ color: paperTheme.colors.background, margin: MARGIN }}
style={{
color: systemTheme === "dark" ? "white" : "black",
margin: MARGIN,
}}
>
Database failed to initialize: {error}
</Text>