File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1992,7 +1992,9 @@ class QueueItemSource {
19921992 type: QueueItemSourceNameType .preTranslated,
19931993 pretranslatedName:
19941994 baseItem.name ??
1995- AppLocalizations .of (GlobalSnackbar .materialAppScaffoldKey.currentContext! )! .placeholderSource,
1995+ (GlobalSnackbar .materialAppScaffoldKey.currentContext != null
1996+ ? AppLocalizations .of (GlobalSnackbar .materialAppScaffoldKey.currentContext! )! .placeholderSource
1997+ : "Playing" ),
19961998 ),
19971999 id: baseItem.id,
19982000 item: baseItem,
Original file line number Diff line number Diff line change @@ -532,9 +532,10 @@ class AndroidAutoHelper {
532532 mediaItems.add (
533533 MediaItem (
534534 id: QueueItemSourceNameType .shuffleAll.name,
535- title:
536- AppLocalizations .of (GlobalSnackbar .materialAppScaffoldKey.currentContext! )? .shuffleAll ??
537- "Shuffle All Tracks" ,
535+ title: GlobalSnackbar .materialAppScaffoldKey.currentContext != null
536+ ? (AppLocalizations .of (GlobalSnackbar .materialAppScaffoldKey.currentContext! )? .shuffleAll ??
537+ "Shuffle All Tracks" )
538+ : "Shuffle All Tracks" ,
538539 playable: true ,
539540 ),
540541 );
You can’t perform that action at this time.
0 commit comments