diff --git a/Sources/justMUSIC/lib/components/post_component.dart b/Sources/justMUSIC/lib/components/post_component.dart index f9a5ade..e8ead7f 100644 --- a/Sources/justMUSIC/lib/components/post_component.dart +++ b/Sources/justMUSIC/lib/components/post_component.dart @@ -152,10 +152,8 @@ class _PostComponentState extends State with TickerProviderStateM children: [ SizedBox( width: double.infinity, - child: FadeInImage.assetNetwork( - image: widget.post.music.cover!, - fadeInDuration: const Duration(milliseconds: 100), - placeholder: "assets/images/loadingPlaceholder.gif", + child: Image.network( + widget.post.music.cover!, ), ), Image( @@ -196,11 +194,9 @@ class _PostComponentState extends State with TickerProviderStateM child: ClipRRect( borderRadius: BorderRadius.circular(13), // implement image - child: FadeInImage.assetNetwork( - image: widget.post.selfie!, + child: Image.network( + widget.post.selfie!, fit: BoxFit.cover, - fadeInDuration: const Duration(milliseconds: 100), - placeholder: "assets/images/loadingPlaceholder.gif", ), ), ), diff --git a/Sources/justMUSIC/lib/screens/feed_screen.dart b/Sources/justMUSIC/lib/screens/feed_screen.dart index 4ad8120..a22ecb8 100644 --- a/Sources/justMUSIC/lib/screens/feed_screen.dart +++ b/Sources/justMUSIC/lib/screens/feed_screen.dart @@ -193,6 +193,7 @@ class _FeedScreenState extends State with SingleTickerProviderStateM PostComponent(callback: openDetailPost, post: displayFeed.item1[index], index: index), ); }, + ), ), ),