Skip to content

Commit bb08834

Browse files
committed
fix loading
1 parent 53fad3c commit bb08834

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "F1HUB",
44
"slug": "f1hub",
55
"scheme": "com.yabcompany.f1hub",
6-
"version": "2.1.1",
6+
"version": "2.1.2",
77
"orientation": "portrait",
88
"icon": "./assets/icon.png",
99
"userInterfaceStyle": "light",
@@ -20,7 +20,7 @@
2020
},
2121
"android": {
2222
"package": "com.yabcompany.f1hub",
23-
"versionCode": 9,
23+
"versionCode": 10,
2424
"adaptiveIcon": {
2525
"foregroundImage": "./assets/adaptive-icon.png",
2626
"backgroundColor": "#121212"

src/components/SectionContainer.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const SectionContainer = ({
7575
alignItems: "center",
7676
}}
7777
>
78-
{contentVisible && (
78+
{contentVisible && !isLoading && (
7979
<>
8080
<View>
8181
{title && (
@@ -106,7 +106,7 @@ export const SectionContainer = ({
106106
)}
107107
</View>
108108

109-
{contentVisible && <>{isError ? <Error /> : children}</>}
109+
{contentVisible && !isLoading && <>{isError ? <Error /> : children}</>}
110110
</>
111111
);
112112
};

0 commit comments

Comments
 (0)