mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 13:38:01 -05:00
[INJIMOB-1492]: assign magic number to copilot height
Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>
This commit is contained in:
@@ -7,7 +7,7 @@ import {
|
||||
ViewStyle,
|
||||
} from 'react-native';
|
||||
import {Spacing} from '../styleUtils';
|
||||
import {isIOS} from '../../../shared/constants';
|
||||
import {COPILOT_HEIGHT, isIOS} from '../../../shared/constants';
|
||||
import Constants from 'expo-constants';
|
||||
|
||||
const Colors = {
|
||||
@@ -716,7 +716,7 @@ export const DefaultTheme = {
|
||||
right: 10,
|
||||
borderRadius: 8,
|
||||
maxWidth: Dimensions.get('screen').width,
|
||||
minHeight: Dimensions.get('screen').height * 0.22,
|
||||
minHeight: Dimensions.get('screen').height * COPILOT_HEIGHT,
|
||||
},
|
||||
copilotButton: {
|
||||
width: 104,
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
ViewStyle,
|
||||
} from 'react-native';
|
||||
import {Spacing} from '../styleUtils';
|
||||
import {isIOS} from '../../../shared/constants';
|
||||
import {COPILOT_HEIGHT, isIOS} from '../../../shared/constants';
|
||||
import Constants from 'expo-constants';
|
||||
|
||||
const Colors = {
|
||||
@@ -720,7 +720,7 @@ export const PurpleTheme = {
|
||||
right: 10,
|
||||
borderRadius: 8,
|
||||
maxWidth: Dimensions.get('screen').width,
|
||||
minHeight: Dimensions.get('screen').height * 0.22,
|
||||
minHeight: Dimensions.get('screen').height * COPILOT_HEIGHT,
|
||||
},
|
||||
copilotButton: {
|
||||
width: 104,
|
||||
|
||||
@@ -140,6 +140,7 @@ export const INTRO_SLIDER_LOGO_MARGIN = Dimensions.get('screen').width * 0.45;
|
||||
|
||||
export const COPILOT_PRE_FINAL_STEP: number = 5;
|
||||
export const COPILOT_FINAL_STEP: number = 6;
|
||||
export const COPILOT_HEIGHT: number = 0.22;
|
||||
export const copilotTestID = {
|
||||
'1': 'help',
|
||||
'2': 'download',
|
||||
|
||||
Reference in New Issue
Block a user