Commit 1a7a5f9f authored by Lorenzo Trujillo Rojas's avatar Lorenzo Trujillo Rojas
Browse files

aa

parent 66171304
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
import { Stack } from "expo-router";
import { router, Stack } from "expo-router";
import { LIGHT_THEME } from "../../../../src/common/const/theme";
import { useTranslation } from "react-i18next";
import React from "react";
import { MaterialCommunityIcons } from "@expo/vector-icons";

export default function Layout() {
  const { t } = useTranslation();
@@ -18,6 +20,14 @@ export default function Layout() {
          },
          headerTitleAlign: "center",
          headerTintColor: LIGHT_THEME.color.white,
          headerRight: () => (
            <MaterialCommunityIcons
              name="map-marker-path"
              size={24}
              color={LIGHT_THEME.color.white}
              onPress={() => router.push("routes/generate_route")}
            />
          ),
        }}
      />
      <Stack.Screen