Skip to content

Commit

Permalink
Update story view
Browse files Browse the repository at this point in the history
  • Loading branch information
henry11996 committed Jun 4, 2024
1 parent 3e16e4f commit 273ce78
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions lib/widgets/story_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -658,15 +658,17 @@ class StoryViewState extends State<StoryView> with TickerProviderStateMixin {
// we use SafeArea here for notched and bezeles phones
child: Container(
padding: widget.indicatorOuterPadding,
child: PageBar(
widget.storyItems
.map((it) => PageData(it!.duration, it.shown))
.toList(),
this._currentAnimation,
key: UniqueKey(),
indicatorHeight: widget.indicatorHeight,
indicatorColor: widget.indicatorColor,
indicatorForegroundColor: widget.indicatorForegroundColor,
child: IgnorePointer(
child: PageBar(
widget.storyItems
.map((it) => PageData(it!.duration, it.shown))
.toList(),
this._currentAnimation,
key: UniqueKey(),
indicatorHeight: widget.indicatorHeight,
indicatorColor: widget.indicatorColor,
indicatorForegroundColor: widget.indicatorForegroundColor,
),
),
),
),
Expand Down

0 comments on commit 273ce78

Please sign in to comment.