style: apply dart format to eight drifted sources

`dart format --set-exit-if-changed` over lib and test rewrites these.
The analysis job never reached its formatting step, so the drift went
unnoticed. No behaviour changes.
This commit is contained in:
edde746
2026-07-26 23:05:53 +02:00
parent e7f97cc090
commit 78eedd21d3
8 changed files with 13 additions and 47 deletions
+3 -11
View File
@@ -1140,11 +1140,7 @@ class MediaContextMenuState extends State<MediaContextMenu> {
item: item,
client: client,
result: result,
createPrompt: (
title: t.playlists.create,
label: t.playlists.playlistName,
hint: t.playlists.enterPlaylistName,
),
createPrompt: (title: t.playlists.create, label: t.playlists.playlistName, hint: t.playlists.enterPlaylistName),
create: (name) => client.createPlaylist(title: name, items: [item]),
createdLog: (playlist) => 'Successfully created playlist: ${playlist.title}',
eagerSyncId: (_) => null,
@@ -1225,12 +1221,8 @@ class MediaContextMenuState extends State<MediaContextMenu> {
label: t.collections.collectionName,
hint: t.collections.enterCollectionName,
),
create: (name) => client.createCollection(
libraryId: resolvedLibraryId,
title: name,
items: [item],
itemKind: itemKind,
),
create: (name) =>
client.createCollection(libraryId: resolvedLibraryId, title: name, items: [item], itemKind: itemKind),
createdLog: (id) => 'Successfully created collection with ID: $id',
eagerSyncId: (id) => id,
add: () => client.addToCollection(collectionId: result, items: [item]),