updated dropdown styles

This commit is contained in:
u-e 2019-01-16 12:14:23 +03:00
parent 62e68a5998
commit fea4ec164c
3 changed files with 7 additions and 11 deletions

View File

@ -8,11 +8,6 @@ export default EStyleSheet.create({
alignSelf: 'flex-start',
height: 35,
},
// dropdownText: {
// fontSize: 9,
// color: '$primaryDarkGray',
// marginLeft: 25,
// },
dropdownIcon: {
fontSize: 22,
color: '$primaryDarkText',
@ -41,10 +36,10 @@ export default EStyleSheet.create({
fontSize: 10,
color: '$primaryDarkText',
padding: 5,
borderColor: '#e7e7e7',
borderColor: '$borderColor',
},
dropdownTextHighlight: {
backgroundColor: '#387be5',
backgroundColor: '$primaryBlue',
width: '$deviceWidth / 3',
},
button: {

View File

@ -26,8 +26,8 @@ export default EStyleSheet.create({
},
dropdownStyle: {
marginTop: 15,
minWidth: 172,
width: 172,
minWidth: 192,
width: 192,
},
dropdownButtonStyle: {
backgroundColor: '$primaryGray',
@ -38,6 +38,7 @@ export default EStyleSheet.create({
},
dropdown: {
flexGrow: 1,
width: 150,
},
textStyle: {
color: '$primaryBlue',

View File

@ -1,5 +1,5 @@
export const groomingServerName = (serverName) => {
const PREFIX1 = 'https://';
export const groomingServerName = (serverName, prefix1) => {
const PREFIX1 = prefix1 || 'https://';
const PREFIX2 = 'https://';
if (!serverName) return null;