mirror of
https://github.com/austinried/subtracks.git
synced 2026-03-28 07:12:43 +01:00
trying reanimated 2
This commit is contained in:
@@ -9,8 +9,8 @@ const TopTabBar: React.FC<MaterialTopTabBarProps> = ({ state, descriptors }) =>
|
||||
<View style={{
|
||||
backgroundColor: colors.gradient.high,
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'space-evenly',
|
||||
alignItems: 'flex-start',
|
||||
justifyContent: 'flex-start',
|
||||
}}>
|
||||
{state.routes.map((route, index) => {
|
||||
const { options } = descriptors[route.key];
|
||||
|
||||
@@ -57,7 +57,7 @@ const AlbumItem: React.FC<{ id: string } > = ({ id }) => {
|
||||
// console.log(album.name);
|
||||
// });
|
||||
|
||||
const size = 180;
|
||||
const size = 125;
|
||||
|
||||
return (
|
||||
<View style={{
|
||||
@@ -66,7 +66,7 @@ const AlbumItem: React.FC<{ id: string } > = ({ id }) => {
|
||||
marginVertical: 10,
|
||||
// marginLeft: 6,
|
||||
// width: size,
|
||||
flex: 1/2,
|
||||
flex: 1/3,
|
||||
}}>
|
||||
<AlbumArt
|
||||
width={size}
|
||||
@@ -136,7 +136,7 @@ const AlbumsList = () => {
|
||||
keyExtractor={item => item}
|
||||
onRefresh={refresh}
|
||||
refreshing={refreshing}
|
||||
numColumns={2}
|
||||
numColumns={3}
|
||||
removeClippedSubviews={false}
|
||||
/>
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user