placeholder background for thumbnails being loaded

This commit is contained in:
Akinwale Ariwodola 2020-01-08 10:17:52 +01:00
parent ad9056f91a
commit 561aa0db9c
2 changed files with 3 additions and 0 deletions

View file

@ -24,6 +24,8 @@ const Colors = {
StatsAudio: '#f6a637',
StatsImage: '#ff4a7d',
StatsOther: '#26bcf7',
ThumbnailPlaceholder: '#d5d5d5',
};
export default Colors;

View file

@ -32,6 +32,7 @@ const fileListStyle = StyleSheet.create({
color: Colors.White,
},
thumbnail: {
backgroundColor: Colors.ThumbnailPlaceholder,
width: thumbnailWidth,
height: thumbnailHeight,
marginRight: screenWidthPixels <= 720 ? 10 : 12,