aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2020-05-08 17:17:24 +0200
committerTeddy Wing2020-05-08 17:17:24 +0200
commit5d0bd05c5c6cee5c3353845c462fbe7dfa8760cb (patch)
tree5e89955680240b99b1dd922a3a18d95bee8fcce1
parentc692a0a50ac8af8849e22dbca0326c274e50db38 (diff)
downloadnetflix-immersive-5d0bd05c5c6cee5c3353845c462fbe7dfa8760cb.tar.bz2
index: Call `styles()` first
We should insert the styles at the very start, because they hide things that are displayed when you start watching. The credits handling always happens at the end of the video. Also reorder imports alphabetically.
-rw-r--r--src/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.ts b/src/index.ts
index 0097f62..24ac473 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,8 +1,8 @@
import fullscreen_credits from './fullscreen_credits';
-import watch_credits from './watch_credits';
import { styles } from './styles';
+import watch_credits from './watch_credits';
+styles();
fullscreen_credits();
watch_credits();
-styles();