Apply proper padding in Android FlatList
This commit is contained in:
@@ -18,7 +18,7 @@ import ticksToDuration from 'utility/ticksToDuration';
|
|||||||
const ICON_SIZE = 16;
|
const ICON_SIZE = 16;
|
||||||
|
|
||||||
const Container = styled.FlatList<Track>`
|
const Container = styled.FlatList<Track>`
|
||||||
padding: 40px;
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const Header = styled.View`
|
const Header = styled.View`
|
||||||
@@ -103,6 +103,7 @@ export default function Queue({ header }: Props) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Container
|
<Container
|
||||||
|
contentContainerStyle={{ padding: 40 }}
|
||||||
data={queue}
|
data={queue}
|
||||||
ListHeaderComponent={
|
ListHeaderComponent={
|
||||||
<>
|
<>
|
||||||
|
|||||||
Reference in New Issue
Block a user