mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2025-07-05 03:44:09 +08:00
Polished animated container and homepage
This commit is contained in:
parent
8ffb359604
commit
96df2f2f05
3 changed files with 31 additions and 19 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue