Skip to content

A cross platform Audiobookshelf client for Android and iOS

Dart

Show times at the show's saved speed when a new episode takes over a card

Barnabas05876aaaa265
diff --git a/lib/widgets/absorbing_card.dart b/lib/widgets/absorbing_card.dart
index 5141ccd9..927b30cb 100644
--- a/lib/widgets/absorbing_card.dart
+++ b/lib/widgets/absorbing_card.dart
@@ -389,6 +389,9 @@ class AbsorbingCardState extends State<AbsorbingCard> with AutomaticKeepAliveCli
_lastChapterIdx = -1;
_lastSeenUpdatedAt = context.read<LibraryProvider>().itemUpdatedAt(_itemId);
_fetchChaptersIfNeeded();
+ // The per-show speed is item state too - without this, a card recycled
+ // for a different item shows times computed at the old item's speed.
+ _loadSavedSpeed();
}
// Re-resolve the cover shape: the item (or its libraryId) may have changed,
// or the player may now know the library for the item that just started.