placeholder background for thumbnails being loaded
This commit is contained in:
parent
ad9056f91a
commit
561aa0db9c
2 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,8 @@ const Colors = {
|
||||||
StatsAudio: '#f6a637',
|
StatsAudio: '#f6a637',
|
||||||
StatsImage: '#ff4a7d',
|
StatsImage: '#ff4a7d',
|
||||||
StatsOther: '#26bcf7',
|
StatsOther: '#26bcf7',
|
||||||
|
|
||||||
|
ThumbnailPlaceholder: '#d5d5d5',
|
||||||
};
|
};
|
||||||
|
|
||||||
export default Colors;
|
export default Colors;
|
||||||
|
|
|
@ -32,6 +32,7 @@ const fileListStyle = StyleSheet.create({
|
||||||
color: Colors.White,
|
color: Colors.White,
|
||||||
},
|
},
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
|
backgroundColor: Colors.ThumbnailPlaceholder,
|
||||||
width: thumbnailWidth,
|
width: thumbnailWidth,
|
||||||
height: thumbnailHeight,
|
height: thumbnailHeight,
|
||||||
marginRight: screenWidthPixels <= 720 ? 10 : 12,
|
marginRight: screenWidthPixels <= 720 ? 10 : 12,
|
||||||
|
|
Loading…
Add table
Reference in a new issue