chore(settings): use null-aware subtitle element

This commit is contained in:
zarzet committed 2026-10-22 02:43:17 +07:00
1 parent a3767cfca2
commit 950bfa8023
1 file changed
+1 -1
@@ -143,7 +143,7 @@ class _LibrarySourceSettingsItem extends StatelessWidget {
)
: null,
subtitle: [
if (pathLine != null) pathLine,
?pathLine,
details,
if (!isScanning && source.lastScanError?.trim().isNotEmpty == true)
context.friendlyError(source.lastScanError!),