Application main page, remove top bar #29
3
.gitignore
vendored
3
.gitignore
vendored
@ -37,4 +37,5 @@ yarn-error.*
|
||||
|
||||
app-example
|
||||
android
|
||||
.env
|
||||
.env
|
||||
coverage
|
@ -1,5 +1,7 @@
|
||||
import { Stack } from "expo-router";
|
||||
import React from "react";
|
||||
|
||||
export default function RootLayout() {
|
||||
return <Stack />;
|
||||
}
|
||||
const RootLayout: React.FC = () => (
|
||||
<Stack screenOptions={{ headerShown: true, title: "Poker Chips Helper" }} />
|
||||
);
|
||||
export default RootLayout;
|
||||
|
@ -6,7 +6,7 @@ import ChipsSelector from "@/components/ChipsSelector";
|
||||
import ChipDistributionSummary from "@/components/ChipDistributionSummary";
|
||||
import ChipDetection from "@/components/ChipDetection";
|
||||
|
||||
const IndexScreen = () => {
|
||||
const IndexScreen: React.FC = () => {
|
||||
const [playerCount, setPlayerCount] = useState(2);
|
||||
const [buyInAmount, setBuyInAmount] = useState<number | null>(null);
|
||||
const [numberOfChips, setNumberOfChips] = useState<number>(5);
|
||||
@ -34,9 +34,6 @@ const IndexScreen = () => {
|
||||
|
||||
return (
|
||||
<ScrollView contentContainerStyle={{ padding: 20, flexGrow: 1 }}>
|
||||
<Text style={{ fontSize: 24, marginBottom: 30, marginTop: 50 }}>
|
||||
Poker Chip Helper
|
||||
</Text>
|
||||
<PlayerSelector
|
||||
playerCount={playerCount}
|
||||
setPlayerCount={setPlayerCount}
|
||||
|
Loading…
Reference in New Issue
Block a user