Polished animated container and homepage

This commit is contained in:
Keannu Christian Bernasol 2023-07-07 15:27:32 +08:00
parent 8ffb359604
commit 96df2f2f05
3 changed files with 31 additions and 19 deletions

View file

@ -47,7 +47,7 @@ export default function Home() {
};
function CustomMap() {
if (dist !== null && location !== null) {
if (dist <= 1) {
if (dist >= 1) {
// Just switch this condition for map debugging
return <MapView style={styles.map} initialRegion={ustpCoords} />;
} else {