Skip to content

Commit

Permalink
chore: fix linter complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Trela authored and Tomasz Trela committed Dec 14, 2024
1 parent 6c7a844 commit 88cc0e8
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ Future<DigitalGuideResponseExtended> getDigitalGuideData(
final response = await dio.get(digitalGuideUrl);
final digitalGuideResponse =
DigitalGuideResponse.fromJson(response.data as Map<String, dynamic>);
final imageUrl = await ref.watch(getImageUrlProvider(digitalGuideResponse.images[0]).future);
final evacuationMapUrl =
await ref.watch(getImageUrlProvider( digitalGuideResponse.evacuationMapId).future);
final entraces = await ref.watch(getDigitalGuideEntracesProvider(digitalGuideResponse.id).future);
final imageUrl = await ref
.watch(getImageUrlProvider(digitalGuideResponse.images[0]).future);
final evacuationMapUrl = await ref
.watch(getImageUrlProvider(digitalGuideResponse.evacuationMapId).future);
final entraces = await ref
.watch(getDigitalGuideEntracesProvider(digitalGuideResponse.id).future);
return DigitalGuideResponseExtended.fromDigitalGuideResponse(
digitalGuideResponse: digitalGuideResponse,
imageUrl: imageUrl,
Expand Down

0 comments on commit 88cc0e8

Please sign in to comment.