Unify receiver selector launching and allow switching to app media type

This commit is contained in:
hensm
2020-01-14 02:56:53 +00:00
parent a23ae9efa8
commit d4f71e7dcf
4 changed files with 52 additions and 47 deletions

View File

@@ -63,9 +63,7 @@ export function getMediaTypesForPageUrl (
// Only meant to run on normal web pages
if (url.protocol === "http:" || url.protocol === "https:") {
availableMediaTypes |= (
ReceiverSelectorMediaType.App
| ReceiverSelectorMediaType.Tab);
availableMediaTypes |= ReceiverSelectorMediaType.Tab;
}
/**