mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-10 09:39:58 +00:00
Show app name in receiver selector if known based on app ID
This commit is contained in:
@@ -54,7 +54,8 @@ async function getSelection (
|
||||
, availableMediaTypes =
|
||||
ReceiverSelectorMediaType.Tab
|
||||
| ReceiverSelectorMediaType.Screen
|
||||
| ReceiverSelectorMediaType.File)
|
||||
| ReceiverSelectorMediaType.File
|
||||
, requestedAppId: string)
|
||||
: Promise<ReceiverSelection> {
|
||||
|
||||
return new Promise(async (resolve, reject) => {
|
||||
@@ -104,7 +105,8 @@ async function getSelection (
|
||||
sharedSelector.open(
|
||||
Array.from(StatusManager.getReceivers())
|
||||
, defaultMediaType
|
||||
, availableMediaTypes);
|
||||
, availableMediaTypes
|
||||
, requestedAppId);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user