mirror of
https://github.com/selfxyz/self.git
synced 2026-01-09 14:48:06 -05:00
SELF-1554 : Fix Country Picker (#1492)
* country picker is always euclid. * track when users press the info icon
This commit is contained in:
@@ -77,16 +77,12 @@ const documentsScreens = {
|
||||
},
|
||||
CountryPicker: {
|
||||
screen: CountryPickerScreen,
|
||||
options: IS_EUCLID_ENABLED
|
||||
? ({
|
||||
header: HeadlessNavForEuclid,
|
||||
statusBarHidden: CountryPickerScreen.statusBar?.hidden,
|
||||
statusBarStyle: CountryPickerScreen.statusBar?.style,
|
||||
headerShown: true,
|
||||
} as NativeStackNavigationOptions)
|
||||
: {
|
||||
headerShown: false,
|
||||
},
|
||||
options: {
|
||||
header: HeadlessNavForEuclid,
|
||||
statusBarHidden: CountryPickerScreen.statusBar?.hidden,
|
||||
statusBarStyle: CountryPickerScreen.statusBar?.style,
|
||||
headerShown: true,
|
||||
} as NativeStackNavigationOptions,
|
||||
},
|
||||
IDPicker: {
|
||||
screen: IDPickerScreen,
|
||||
|
||||
@@ -8,4 +8,4 @@
|
||||
* Use this constant instead of checking __DEV__ directly throughout the codebase.
|
||||
*/
|
||||
export const IS_DEV_MODE = typeof __DEV__ !== 'undefined' && __DEV__;
|
||||
export const IS_EUCLID_ENABLED = IS_DEV_MODE; // just in case we forgot to turn it off before pushing to prod.
|
||||
export const IS_EUCLID_ENABLED = false; //IS_DEV_MODE; // just in case we forgot to turn it off before pushing to prod.
|
||||
|
||||
Reference in New Issue
Block a user