diff --git a/lib/Frontend/Widgets/tail_blog.dart b/lib/Frontend/Widgets/tail_blog.dart index b4df6a7d..1cd98729 100644 --- a/lib/Frontend/Widgets/tail_blog.dart +++ b/lib/Frontend/Widgets/tail_blog.dart @@ -23,11 +23,12 @@ class TailBlog extends StatefulWidget { } List _wordpressPosts = []; +List results = []; +Map images = {}; class _TailBlogState extends State { FeedState feedState = FeedState.loading; - List results = []; - Map images = {}; + WordpressClient? client; @override @@ -187,7 +188,7 @@ class _TailBlogState extends State { followRedirects: true, ), ); - if (context.mounted && response.statusCode! < 400) { + if (response.statusCode! < 400) { data = Uint8List.fromList(response.data!); images[item.imageId!] = data; }