Skip to content

Commit c56d581

Browse files
committed
fix: return explicit boolean value in stream selection logic
1 parent 958ad28 commit c56d581

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/client/plex_client.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,9 @@ class PlexClient {
493493

494494
return response.statusCode == 200;
495495
}
496+
// Si allParts est false, retourner true ou false explicitement (selon la logique souhaitée)
497+
// Ici, on retourne true par défaut si rien n'est fait
498+
return true;
496499
} catch (e) {
497500
appLogger.e('Failed to select streams', error: e);
498501
return false;

0 commit comments

Comments
 (0)