Waseel: driver app, dispatch, POI suggestions, map fixes
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
import { Text, View } from "react-native";
|
||||
|
||||
import { useT } from "@/lib/i18n";
|
||||
|
||||
// react-native-maps does not support web. This stub keeps the web bundle
|
||||
// working for local testing; use a native build for real map functionality.
|
||||
export const Map = () => {
|
||||
const t = useT();
|
||||
|
||||
return (
|
||||
<View className="w-full h-full rounded-2xl bg-general-100 flex items-center justify-center">
|
||||
<Text className="text-general-200 text-center font-JakartaMedium">
|
||||
Map is not available on web.{"\n"}Run on Android/iOS for the full
|
||||
experience.
|
||||
{t("components.map.webUnavailable")}
|
||||
</Text>
|
||||
</View>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user