Skip to content

Instantly share code, notes, and snippets.

@mchowning
Created April 14, 2023 00:36
Show Gist options
  • Save mchowning/6be13d811c8346ac849be44dd8806223 to your computer and use it in GitHub Desktop.
Save mchowning/6be13d811c8346ac849be44dd8806223 to your computer and use it in GitHub Desktop.
diff --git a/wear/src/main/kotlin/au/com/shiftyjelly/pocketcasts/wear/networking/PocketCastsNetworkingRules.kt b/wear/src/main/kotlin/au/com/shiftyjelly/pocketcasts/wear/networking/PocketCastsNetworkingRules.kt
index 21d4fa1d..44256c33 100644
--- a/wear/src/main/kotlin/au/com/shiftyjelly/pocketcasts/wear/networking/PocketCastsNetworkingRules.kt
+++ b/wear/src/main/kotlin/au/com/shiftyjelly/pocketcasts/wear/networking/PocketCastsNetworkingRules.kt
@@ -39,7 +39,7 @@ object PocketCastsNetworkingRules : NetworkingRules {
when (requestType) {
is RequestType.MediaRequest, RequestType.ImageRequest -> {
- getPreferredNetworkForMedia(networks, requestType)
+ networks.networks.prefer(NetworkType.BT)
}
is RequestType.ImageRequest,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment