mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2024-11-17 06:19:25 +08:00
Turn off debug flags
This commit is contained in:
parent
51b7b24430
commit
d2aecbd89c
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ if (__DEV__) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Switch this on if you wanna run production URLs while in development
|
// Switch this on if you wanna run production URLs while in development
|
||||||
let use_production = false;
|
let use_production = true;
|
||||||
if (__DEV__ && use_production) {
|
if (__DEV__ && use_production) {
|
||||||
backendURL = "https://stude.keannu1.duckdns.org";
|
backendURL = "https://stude.keannu1.duckdns.org";
|
||||||
backendURLWebsocket = "ws://stude.keannu1.duckdns.org";
|
backendURLWebsocket = "ws://stude.keannu1.duckdns.org";
|
||||||
|
|
|
@ -48,7 +48,7 @@ import AsyncStorage from "@react-native-async-storage/async-storage";
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
// Switch this condition to see the main map when debugging
|
// Switch this condition to see the main map when debugging
|
||||||
const map_distance_override = true;
|
const map_distance_override = false;
|
||||||
const navigation = useNavigation<RootDrawerParamList>();
|
const navigation = useNavigation<RootDrawerParamList>();
|
||||||
const [location, setLocation] = useState<RawLocationType | null>(null);
|
const [location, setLocation] = useState<RawLocationType | null>(null);
|
||||||
const [locationPermitted, setLocationPermitted] = useState(false);
|
const [locationPermitted, setLocationPermitted] = useState(false);
|
||||||
|
|
Loading…
Reference in a new issue