From 86eddcac4525d93015df61197a160c49d7f2976d Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 20 Nov 2025 17:07:18 +0000 Subject: [PATCH] fix: add null safety assertions for Text widgets Add non-null assertion operators for authorName and subtitle in Text widgets where null checks are already performed. This resolves the null safety compilation errors. --- .../library_browser/view/filtered_library_items_page.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/features/library_browser/view/filtered_library_items_page.dart b/lib/features/library_browser/view/filtered_library_items_page.dart index 936f659..e0cc58a 100644 --- a/lib/features/library_browser/view/filtered_library_items_page.dart +++ b/lib/features/library_browser/view/filtered_library_items_page.dart @@ -241,10 +241,10 @@ class LibraryItemListTile extends ConsumerWidget { subtitle: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - if (authorName != null) Text(authorName), + if (authorName != null) Text(authorName!), if (subtitle != null) Text( - subtitle, + subtitle!, style: Theme.of(context).textTheme.bodySmall, maxLines: 1, overflow: TextOverflow.ellipsis,