Skip to content

Commit

Permalink
remove firefox night mode hack because it stopped working. See: mozil…
Browse files Browse the repository at this point in the history
  • Loading branch information
dasl- committed Apr 30, 2022
1 parent d6fdbd2 commit 8a7d5dd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions app/src/component/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,6 @@ class App extends React.Component {
this.clearQueue = this.clearQueue.bind(this);
this.removeVideo = this.removeVideo.bind(this);
this.setVolPct = this.setVolPct.bind(this);

// https://github.com/mozilla-mobile/firefox-ios/issues/5772#issuecomment-573380173
if (window.__firefox__) {
window.__firefox__.NightMode.setEnabled(false);
}
}

componentDidMount() {
Expand Down
5 changes: 0 additions & 5 deletions assets/snake/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ var page = (() => {
setupNumPlayersInput();
setupAppleCountInput();

// https://github.com/mozilla-mobile/firefox-ios/issues/5772#issuecomment-573380173
if (window.__firefox__) {
window.__firefox__.NightMode.setEnabled(false);
}

volume.init(false);

setupPolling();
Expand Down

0 comments on commit 8a7d5dd

Please sign in to comment.