mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-28 23:25:52 +01:00
chore(settings): use null-aware subtitle element
This commit is contained in:
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!),
|
||||
|
||||
Reference in new issue
Block a user