diff --git a/lib/widgets/story_image.dart b/lib/widgets/story_image.dart index 6f3d333e..44a60dae 100644 --- a/lib/widgets/story_image.dart +++ b/lib/widgets/story_image.dart @@ -29,7 +29,8 @@ class ImageLoader { } final fileStream = DefaultCacheManager().getFileStream(this.url, - headers: this.requestHeaders as Map?); + headers: requestHeaders + ?.map((key, value) => MapEntry(key, value.toString()))); fileStream.listen( (fileResponse) {