summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authoranderklander <anderklander@gmail.com>2018-01-09 08:55:02 +0100
committeranderklander <anderklander@gmail.com>2018-01-18 19:28:02 +0100
commitfd8dc20f90213d5790db4dfc78290bc80fbd5c64 (patch)
tree10e550ea5bfa02004a915817fb6fc37f6c8ef976
parent83e6c88894aa285e47d0b236299efcdf586cb1c3 (diff)
downloadmullvadvpn-fd8dc20f90213d5790db4dfc78290bc80fbd5c64.tar.xz
mullvadvpn-fd8dc20f90213d5790db4dfc78290bc80fbd5c64.zip
Preference style fixes
background -> backgroundColor and fontWeight value as string instead of number. Crasches on android …
-rw-r--r--app/components/PreferencesStyles.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/components/PreferencesStyles.js b/app/components/PreferencesStyles.js
index 002494a6c5..24d0884605 100644
--- a/app/components/PreferencesStyles.js
+++ b/app/components/PreferencesStyles.js
@@ -5,7 +5,7 @@ import { createViewStyles, createTextStyles } from '../lib/styles';
export default {
...createViewStyles({
preferences: {
- background: '#192E45',
+ backgroundColor: '#192E45',
height: '100%',
},
preferences__container: {
@@ -72,20 +72,20 @@ export default {
preferences__close_title: {
fontFamily: 'Open Sans',
fontSize: 13,
- fontWeight: 600,
+ fontWeight: '600',
color: 'rgba(255, 255, 255, 0.6)',
},
preferences__title: {
fontFamily: 'DINPro',
fontSize: 32,
- fontWeight: 900,
+ fontWeight: '900',
lineHeight: 40,
color: '#fff',
},
preferences__cell_label: {
fontFamily: 'DINPro',
fontSize: 20,
- fontWeight: 900,
+ fontWeight: '900',
lineHeight: 26,
letterSpacing: -0.2,
color: '#fff',
@@ -93,7 +93,7 @@ export default {
preferences__cell_footer_label: {
fontFamily: 'Open Sans',
fontSize: 13,
- fontWeight: 600,
+ fontWeight: '600',
lineHeight: 20,
letterSpacing: -0.2,
color: 'rgba(255,255,255,0.8)'