diff options
| author | anderklander <anderklander@gmail.com> | 2018-03-26 14:24:19 +0200 |
|---|---|---|
| committer | anderklander <anderklander@gmail.com> | 2018-04-11 13:45:41 +0200 |
| commit | 2254e47dbca7277ff41f432e498f4291da327800 (patch) | |
| tree | 4e545abbeb85a7165aada0ee1526462fdeaf0548 | |
| parent | 63fdf393545bacae79d00696ed03a3509f25aa45 (diff) | |
| download | mullvadvpn-2254e47dbca7277ff41f432e498f4291da327800.tar.xz mullvadvpn-2254e47dbca7277ff41f432e498f4291da327800.zip | |
Added hoverStyle to expand-chevron in selectlocation
| -rw-r--r-- | app/components/SelectLocation.js | 4 | ||||
| -rw-r--r-- | app/components/SelectLocationStyles.js | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/app/components/SelectLocation.js b/app/components/SelectLocation.js index 7a547e4e6f..06d3707a44 100644 --- a/app/components/SelectLocation.js +++ b/app/components/SelectLocation.js @@ -163,8 +163,8 @@ export default class SelectLocation extends React.Component<SelectLocationProps, { relayCountry.cities.length > 1 ? isExpanded ? - <Img style={styles.collapse_button} onPress={ handleCollapse } source='icon-chevron-up' height='24' width='24' /> : - <Img style={styles.collapse_button} onPress={ handleCollapse } source='icon-chevron-down' height='24' width='24' /> + <Img style={styles.collapse_button} hoverStyle={styles.expand_chevron_hover} onPress={ handleCollapse } source='icon-chevron-up' height='24' width='24' /> : + <Img style={styles.collapse_button} hoverStyle={styles.expand_chevron_hover} onPress={ handleCollapse } source='icon-chevron-down' height='24' width='24' /> : null } </CellButton> diff --git a/app/components/SelectLocationStyles.js b/app/components/SelectLocationStyles.js index 083a80499e..4e7c2f2a56 100644 --- a/app/components/SelectLocationStyles.js +++ b/app/components/SelectLocationStyles.js @@ -60,6 +60,9 @@ export default { cell_selected: { backgroundColor: colors.green, }, + expand_chevron_hover: { + color: colors.white, + }, }), ...createTextStyles({ title: { |
