Skip to content
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 20 deletions.
4 changes: 2 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "F1HUB",
"slug": "f1hub",
"scheme": "com.yabcompany.f1hub",
"version": "2.1.0",
"version": "2.1.1",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
Expand All @@ -20,7 +20,7 @@
},
"android": {
"package": "com.yabcompany.f1hub",
"versionCode": 8,
"versionCode": 9,
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#121212"
Expand Down
21 changes: 7 additions & 14 deletions src/components/ListItemRace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,23 +74,16 @@ export const ListItemRace = ({ race }: Props) => {
{formatDate(race.date, race.time)}{" "}
</Text>
{!existResults && (
<View
<Text
style={{
paddingVertical: 1,
paddingHorizontal: 4,
borderRadius: Theme.roundness,
fontFamily: Theme.fonts.special,
color: Theme.colors.primary,
fontSize: 7,
paddingLeft: 4,
}}
>
<Text
style={{
fontFamily: Theme.fonts.special,
color: Theme.colors.primary,
fontSize: 8,
}}
>
| SOON
</Text>
</View>
SOON
</Text>
)}
</View>

Expand Down
1 change: 0 additions & 1 deletion src/components/SectionContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export const SectionContainer = ({
justifyContent: "space-between",
alignItems: "center",
minHeight: 56,
marginTop: Theme.space.xs,
}}
>
<SectionTitle>{name}</SectionTitle>
Expand Down
4 changes: 1 addition & 3 deletions src/screens/Home/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ import { BuyMeACoffe } from "../../components/BuyMeACoffee";
export const Home = () => {
return (
<ScreenContainer title="Home">
<View style={{ marginTop: Theme.space.xs }}>
<HomeNextRace />
</View>
<HomeNextRace />

<View style={{ marginTop: Theme.space.xs }}>
<HomeLastRace />
Expand Down
21 changes: 21 additions & 0 deletions src/screens/RaceResult/RaceResult.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,29 @@ export const RaceResult = () => {
}}
>
<RaceResultInfo season={season} round={round} />
</View>

<View
style={{
marginTop: Theme.space.xs,
}}
>
<RaceResultResults season={season} round={round} />
</View>

<View
style={{
marginTop: Theme.space.xs,
}}
>
{race?.Sprint && <RaceResultSprint season={season} round={round} />}
</View>

<View
style={{
marginTop: Theme.space.xs,
}}
>
<RaceQualifyingResults season={season} round={round} />
</View>
</ScreenContainer>
Expand Down

0 comments on commit 53fad3c

Please sign in to comment.