File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
injected/src/features/duckplayer-native Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ export async function initDuckPlayerNative(messages) {
6262 clearInterval ( timestampPolling ) ;
6363 } ) ;
6464
65- return async ( ) => {
66- return await Promise . all ( sideEffects . map ( ( destroy ) => destroy ( ) ) ) ;
67- } ;
65+ // return async () => {
66+ // return await Promise.all(sideEffects.map((destroy) => destroy()));
67+ // };
6868}
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ export class DuckPlayerNativeMessages {
5555 * @param {() => void } callback
5656 */
5757 onMediaControl ( callback ) {
58+ console . log ( 'Subscribing to onMediaControl' ) ;
5859 return this . messaging . subscribe ( 'onMediaControl' , callback ) ;
5960 }
6061
@@ -63,6 +64,7 @@ export class DuckPlayerNativeMessages {
6364 * @param {(muteSettings: muteSettings) => void } callback
6465 */
6566 onMuteAudio ( callback ) {
67+ console . log ( 'Subscribing to onMuteAudio' ) ;
6668 return this . messaging . subscribe ( 'onMuteAudio' , callback ) ;
6769 }
6870
@@ -71,6 +73,7 @@ export class DuckPlayerNativeMessages {
7173 * @param {() => void } callback
7274 */
7375 onSerpNotify ( callback ) {
76+ console . log ( 'Subscribing to onSerpNotify' ) ;
7477 return this . messaging . subscribe ( 'onSerpNotify' , callback ) ;
7578 }
7679
You can’t perform that action at this time.
0 commit comments