mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-09 00:59:59 +00:00
Call initialize success callback before receiver listener
This commit is contained in:
@@ -106,13 +106,13 @@ export function initialize (
|
||||
, data: { appId: apiConfig.sessionRequest.appId }
|
||||
});
|
||||
|
||||
apiConfig.receiverListener(receiverList.length
|
||||
? ReceiverAvailability.AVAILABLE
|
||||
: ReceiverAvailability.UNAVAILABLE);
|
||||
|
||||
if (successCallback) {
|
||||
successCallback();
|
||||
}
|
||||
|
||||
apiConfig.receiverListener(receiverList.length
|
||||
? ReceiverAvailability.AVAILABLE
|
||||
: ReceiverAvailability.UNAVAILABLE);
|
||||
}
|
||||
|
||||
export function logMessage (message: string): void {
|
||||
|
||||
Reference in New Issue
Block a user