diff --git a/app/App.tsx b/app/App.tsx index 68f54cb..817c984 100644 --- a/app/App.tsx +++ b/app/App.tsx @@ -17,7 +17,7 @@ const Debug = () => { const App = () => ( - + diff --git a/app/screens/LibraryAlbums.tsx b/app/screens/LibraryAlbums.tsx index 6ee39c0..2648482 100644 --- a/app/screens/LibraryAlbums.tsx +++ b/app/screens/LibraryAlbums.tsx @@ -22,7 +22,8 @@ const AlbumItem = React.memo<{ return ( navigation.navigate('album', { id: album.id, title: album.name })}> { const layout = useWindowDimensions() - const size = layout.width / 3 - styles.item.marginHorizontal * 2 + const size = layout.width / 3 - styles.itemWrapper.marginHorizontal * 2 const height = size + 36 const albumsList = list.map(album => ({ album, size, height })) @@ -88,15 +89,15 @@ const styles = StyleSheet.create({ container: { flex: 1, }, - item: { - // alignItems: 'center', - marginVertical: 4, - marginHorizontal: 3, + itemMenu: { flex: 1 / 3, }, + itemWrapper: { + marginVertical: 4, + marginHorizontal: 2, + }, itemDetails: { flex: 1, - // width: '100%', }, title: { fontSize: 12,