Skip to content

Commit f931310

Browse files
committed
Removed logging
1 parent 750b4ce commit f931310

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

injected/src/features/duck-player-native.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ export class DuckPlayerNativeFeature extends ContentFeature {
3737

3838
const locale = args?.locale || args?.language || 'en';
3939
const env = new Environment({
40-
debug: this.isDebug || true, // TODO: Can't get this setting from iOS for some reason. Remove before shipping.
40+
debug: this.isDebug,
4141
injectName: import.meta.injectName,
4242
platform: this.platform,
4343
locale,
4444
});
4545

4646
const messages = new DuckPlayerNativeMessages(this.messaging, env);
4747
messages.subscribeToURLChange(({ pageType }) => {
48-
const playbackPaused = false; // TODO: Get this from the native notification too?
48+
const playbackPaused = false; // This can be added to the event data in the future if needed
4949
this.urlChanged(pageType, selectors, playbackPaused, env, messages);
5050
});
5151

injected/src/features/duckplayer-native/messages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export class DuckPlayerNativeMessages {
4545
this.environment = environment;
4646

4747
if (this.environment.isIntegrationMode()) {
48-
this.messaging.transport = mockTransport(); // TODO: Better way than patching transport?
48+
this.messaging.transport = mockTransport();
4949
}
5050
}
5151

0 commit comments

Comments
 (0)