refactor artist to use coverArt

fix cover art image caching
This commit is contained in:
austinried
2025-11-09 17:11:35 +09:00
parent 42ff02f88e
commit aaab1d1278
15 changed files with 116 additions and 260 deletions

View File

@@ -23,12 +23,14 @@ Map<Servers, SubsonicClient> testServerClients() => {
),
};
void groupByTestServer(void Function(SubsonicClient client) callback) {
void groupByTestServer(
void Function(Servers server, SubsonicClient client) callback,
) {
final clients = testServerClients();
for (final MapEntry(key: server, value: client) in clients.entries) {
group(server.name, () {
callback(client);
callback(server, client);
});
}
}