Skip to content

A cross platform Audiobookshelf client for Android and iOS

Dart

Use overlay toast for episode download errors in show sheet

Nathan Poulson591805ae7a10
diff --git a/lib/widgets/episode_list_sheet.dart b/lib/widgets/episode_list_sheet.dart
index 93f01a39..5e8cfb43 100644
--- a/lib/widgets/episode_list_sheet.dart
+++ b/lib/widgets/episode_list_sheet.dart
@@ -312,7 +312,7 @@ class _EpisodeListSheetState extends State<EpisodeListSheet> {
);
if (error != null && mounted) {
- ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text(error)));
+ showOverlayToast(context, error, icon: Icons.error_outline_rounded);
}
}