mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-04 17:33:55 +03:00
Merge pull request #484 from esteemapp/bugfix/pin-code-design
Fixed android device height issue
This commit is contained in:
commit
02632255d4
@ -1,4 +1,4 @@
|
||||
import { Dimensions } from 'react-native';
|
||||
import { Dimensions, Platform, StatusBar } from 'react-native';
|
||||
|
||||
export default {
|
||||
// Primary Colors
|
||||
@ -39,7 +39,10 @@ export default {
|
||||
$tableBorderColor: '#1e2835',
|
||||
|
||||
// Devices Sizes
|
||||
$deviceHeight: Dimensions.get('window').height,
|
||||
$deviceHeight:
|
||||
Platform.OS === 'ios'
|
||||
? Dimensions.get('window').height
|
||||
: Dimensions.get('window').height + StatusBar.currentHeight,
|
||||
$deviceWidth: Dimensions.get('window').width,
|
||||
|
||||
// Fonts Properties
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Dimensions } from 'react-native';
|
||||
import { Dimensions, Platform, StatusBar } from 'react-native';
|
||||
|
||||
export default {
|
||||
// Primary Colors
|
||||
@ -39,7 +39,10 @@ export default {
|
||||
$tableBorderColor: '#FFFFFF',
|
||||
|
||||
// Devices Sizes
|
||||
$deviceHeight: Dimensions.get('window').height,
|
||||
$deviceHeight:
|
||||
Platform.OS === 'ios'
|
||||
? Dimensions.get('window').height
|
||||
: Dimensions.get('window').height + StatusBar.currentHeight,
|
||||
$deviceWidth: Dimensions.get('window').width,
|
||||
|
||||
// Fonts Properties
|
||||
|
Loading…
Reference in New Issue
Block a user