diff options
| author | anderklander <anderklander@gmail.com> | 2018-04-04 13:10:14 +0200 |
|---|---|---|
| committer | anderklander <anderklander@gmail.com> | 2018-04-11 13:45:42 +0200 |
| commit | 8eae6fc143828577940adf7da1c77269fc1c2a4f (patch) | |
| tree | 857c7ac1c242d8a75ab915817caedc9e3e45fc3a | |
| parent | 5a6417b37623953f86f695b417e89927dd3ebd28 (diff) | |
| download | mullvadvpn-8eae6fc143828577940adf7da1c77269fc1c2a4f.tar.xz mullvadvpn-8eae6fc143828577940adf7da1c77269fc1c2a4f.zip | |
Fix hovering of selected cells
| -rw-r--r-- | app/components/SelectLocation.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/components/SelectLocation.js b/app/components/SelectLocation.js index 06d3707a44..891e987ab7 100644 --- a/app/components/SelectLocation.js +++ b/app/components/SelectLocation.js @@ -148,6 +148,7 @@ export default class SelectLocation extends React.Component<SelectLocationProps, return ( <View key={ relayCountry.code } style={styles.country}> <CellButton + cellHoverStyle={ isSelected ? styles.cell_selected : null } style={ isSelected ? styles.cell_selected : null } onPress={ handleSelect } disabled={!relayCountry.hasActiveRelays} @@ -194,6 +195,7 @@ export default class SelectLocation extends React.Component<SelectLocationProps, <CellButton key={ `${countryCode}_${relayCity.code}` } onPress={ handleSelect } disabled={!relayCity.hasActiveRelays} + cellHoverStyle={isSelected ? styles.sub_cell__selected : null} style={isSelected ? styles.sub_cell__selected : styles.sub_cell} testName='city' ref={onRef}> |
