Skip to content

Commit

Permalink
Merge pull request #48 from YouKnowBlom/senderPatch
Browse files Browse the repository at this point in the history
Fix issue getting senders for deviceId
  • Loading branch information
dkanada authored Jul 31, 2020
2 parents e02043f + 8a8eeff commit aaffba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import "./components/maincontroller";

let senders = cast.framework.CastReceiverContext.getSenders();
let senders = cast.framework.CastReceiverContext.getInstance().getSenders();
let id = senders.length !== 0 && senders[0].id ? senders[0].id : new Date().getTime();

window.deviceInfo = {
Expand Down

0 comments on commit aaffba5

Please sign in to comment.