From 09b11dbbc7f0bebfc64fc131bcfe448bc9286b6b Mon Sep 17 00:00:00 2001 From: mike doornenbal Date: Thu, 22 Aug 2024 13:57:52 +0200 Subject: [PATCH] fix: update github action --- .github/workflows/melos-component-ci.yml | 2 +- .../flutter_timeline_view/lib/src/widgets/tappable_image.dart | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/melos-component-ci.yml b/.github/workflows/melos-component-ci.yml index 98255ce..2df0d4c 100644 --- a/.github/workflows/melos-component-ci.yml +++ b/.github/workflows/melos-component-ci.yml @@ -11,4 +11,4 @@ jobs: secrets: inherit permissions: write-all with: - flutter_version: 3.19.6 \ No newline at end of file + flutter_version: 3.24 \ No newline at end of file diff --git a/packages/flutter_timeline_view/lib/src/widgets/tappable_image.dart b/packages/flutter_timeline_view/lib/src/widgets/tappable_image.dart index 9217c08..fcf2b48 100644 --- a/packages/flutter_timeline_view/lib/src/widgets/tappable_image.dart +++ b/packages/flutter_timeline_view/lib/src/widgets/tappable_image.dart @@ -141,6 +141,7 @@ class _HeartAnimationState extends State { unawaited( Future.delayed(const Duration(milliseconds: 100)).then((value) async { active = widget.liked; + // ignore: use_build_context_synchronously var navigator = Navigator.of(context); await Future.delayed(widget.duration); navigator.pop();