Skip to content

Commit 61ea25f

Browse files
committed
chore: fix albums example on android & ios
1 parent 2716ae1 commit 61ea25f

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

example/src/Shared/Albums.tsx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,19 +80,23 @@ const styles = StyleSheet.create({
8080
item: {
8181
width: '100%',
8282
},
83+
photo: {
84+
flex: 1,
85+
paddingTop: '100%',
86+
height: 'auto',
87+
width: 'auto',
88+
},
8389
},
8490
default: {
8591
content: {
8692
flexDirection: 'row',
8793
flexWrap: 'wrap',
8894
},
8995
item: {},
96+
photo: {
97+
height: '100%',
98+
width: '100%',
99+
},
90100
},
91101
}),
92-
photo: {
93-
flex: 1,
94-
paddingTop: '100%',
95-
height: 'auto',
96-
width: 'auto',
97-
},
98102
});

0 commit comments

Comments
 (0)