Turn off debug flags

This commit is contained in:
Keannu Bernasol 2023-11-24 00:26:02 +08:00
parent 51b7b24430
commit d2aecbd89c
2 changed files with 2 additions and 2 deletions

View file

@ -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";

View file

@ -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);