diff --git a/dev-app/src/screens/DiscoverReadersScreen.tsx b/dev-app/src/screens/DiscoverReadersScreen.tsx index 7b69525b..53e93894 100644 --- a/dev-app/src/screens/DiscoverReadersScreen.tsx +++ b/dev-app/src/screens/DiscoverReadersScreen.tsx @@ -291,37 +291,41 @@ export default function DiscoverReadersScreen() { testID="discovery-readers-screen" contentContainerStyle={styles.container} > - - { - if (!simulated) { - navigation.navigate('LocationListScreen', { - onSelect: (location: Location) => setSelectedLocation(location), - }); + {discoveryMethod != 'internet' && ( + + { + if (!simulated) { + navigation.navigate('LocationListScreen', { + onSelect: (location: Location) => + setSelectedLocation(location), + showDummyLocation: true, + }); + } + }} + disabled={simulated} + title={ + simulated + ? 'Mock simulated reader location' + : selectedLocation?.displayName || 'No location selected' } - }} - disabled={simulated} - title={ - simulated - ? 'Mock simulated reader location' - : selectedLocation?.displayName || 'No location selected' - } - /> - - {simulated ? ( - - Simulated readers are always registered to the mock simulated - location. - - ) : ( - - Bluetooth readers must be registered to a location during the - connection process. If you do not select a location, the reader will - attempt to register to the same location it was registered to during - the previous connection. - - )} - + /> + + {simulated ? ( + + Simulated readers are always registered to the mock simulated + location. + + ) : ( + + Bluetooth readers must be registered to a location during the + connection process. If you do not select a location, the reader + will attempt to register to the same location it was registered to + during the previous connection. + + )} + + )} {simulated && discoveryMethod !== 'internet' && (