A cross platform Audiobookshelf client for Android and iOS
Dart
Fix author series sheets not opening when seriesId is null
Nathan Poulson9a0469202ab1
diff --git a/lib/widgets/author_books_sheet.dart b/lib/widgets/author_books_sheet.dartindex a4ff07d2..e747cc7b 100644--- a/lib/widgets/author_books_sheet.dart+++ b/lib/widgets/author_books_sheet.dart@@ -465,16 +465,14 @@ class _AuthorBooksSheetState extends State<AuthorBooksSheet> {void _openSeriesSheet(_BookSection section) {- if (section.seriesId != null) {- showSeriesBooksSheet(context,- seriesName: section.label,- seriesId: section.seriesId,- books: section.books,- serverUrl: widget.serverUrl,- token: widget.token,- libraryId: widget.libraryId,- );- }+ showSeriesBooksSheet(context,+ seriesName: section.label,+ seriesId: section.seriesId,+ books: section.books,+ serverUrl: widget.serverUrl,+ token: widget.token,+ libraryId: widget.libraryId,+ );}Widget _sectionDivider(ColorScheme cs, TextTheme tt, String label) {