Commit f65f29a0 authored by Nikolai R Kristiansen's avatar Nikolai R Kristiansen

EventList: Fix section header padding on android

parent 39a16301
import {StyleSheet, View, SectionList} from "react-native";
import {StyleSheet, View, SectionList, Platform} from "react-native";
import {Card, ListItem, CardItem, Body, Text as Text, Left, Right, Icon, Button, Content, Spinner} from 'native-base';
import React, { Component } from 'react';
import moment from "moment";
......@@ -94,7 +94,10 @@ const styles = StyleSheet.create({
sectionHeader: {
backgroundColor: 'white',
marginLeft: 0,
marginBottom: -8,
...Platform.select({
'ios': {marginBottom: -8},
'android': {marginBottom: -4}
}),
paddingBottom: 0,
borderBottomWidth: 0,
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment