diff --git a/src/components/CustomMapCallout/CustomMapCallout.tsx b/src/components/CustomMapCallout/CustomMapCallout.tsx
deleted file mode 100644
index 6184c9a..0000000
--- a/src/components/CustomMapCallout/CustomMapCallout.tsx
+++ /dev/null
@@ -1,41 +0,0 @@
-import { Callout } from "react-native-maps";
-import { LocationType, RawLocationType } from "../../interfaces/Interfaces";
-import styles from "../../styles";
-import { Text } from "react-native";
-
-// Map popup for user's location
-
-type props = {
- location: LocationType;
- studying: boolean;
- subject?: string;
-};
-
-export default function CustomMapCallout(props: props) {
- let { location, studying, subject } = props;
- if (location && location.latitude && location.longitude) {
- if (studying) {
- return (
-
-
- You are here {"\n"}
- X: {Math.round(location.longitude) + "\n"}
- Z: {Math.round(location.latitude) + "\n"}
- Studying: {subject}
-
-
- );
- } else {
- return (
-
-
- You are here {"\n"}
- X: {Math.round(location.longitude) + "\n"}
- Z: {Math.round(location.latitude)}
-
-
- );
- }
- }
- return <>>;
-}
diff --git a/src/components/MapRenderer/MapRendererFar.tsx b/src/components/MapRenderer/MapRendererFar.tsx
index 776df86..e65a145 100644
--- a/src/components/MapRenderer/MapRendererFar.tsx
+++ b/src/components/MapRenderer/MapRendererFar.tsx
@@ -13,7 +13,7 @@ type props = {
export default function MapRendererFar(props: props) {
return (
-
+ <>
You are too far from USTP {"\n"}
Get closer to use Stud-E
@@ -74,6 +74,6 @@ export default function MapRendererFar(props: props) {
{props.dist}km away from USTP {"\n"}
-
+ >
);
}
diff --git a/src/icons/DropdownIcon/DropdownIcon.tsx b/src/icons/CaretDownIcon/CaretDownIcon.tsx
similarity index 91%
rename from src/icons/DropdownIcon/DropdownIcon.tsx
rename to src/icons/CaretDownIcon/CaretDownIcon.tsx
index 27851ab..6a34501 100644
--- a/src/icons/DropdownIcon/DropdownIcon.tsx
+++ b/src/icons/CaretDownIcon/CaretDownIcon.tsx
@@ -3,7 +3,7 @@ import { IconProps } from "../../interfaces/Interfaces";
import { Svg, Path } from "react-native-svg";
import { colors } from "../../styles";
-export default function DropdownIcon(props: IconProps) {
+export default function CaretDownIcon(props: IconProps) {
return (
<>