mirror of
https://github.com/zoriya/react-native-omni.git
synced 2026-08-16 02:44:51 +00:00
fix(cast): add unsupported state
This commit is contained in:
+1
-2
@@ -182,8 +182,7 @@ export const stateMapper = {
|
||||
if (!r) return "unavailable";
|
||||
if (r.remotePlaybackState === "connecting") return "connecting";
|
||||
if (r.remotePlaybackState === "connected") return "connected";
|
||||
if (r.remotePlaybackAvailability === "available") return "available";
|
||||
return "unavailable";
|
||||
return r.remotePlaybackAvailability
|
||||
}),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user