Fixed UI
This commit is contained in:
parent
96c850c878
commit
358be057bb
@ -3,14 +3,14 @@ import hamburgerIcon from "../assets/hamburger.svg";
|
||||
|
||||
function TopNav({ onMenuClick }) {
|
||||
const [injectionType, setInjectionType] = useState("LICENSE");
|
||||
const [drmOverride, setDrmOverride] = useState("LICENSE");
|
||||
const [drmOverride, setDrmOverride] = useState("DISABLED");
|
||||
|
||||
useEffect(() => {
|
||||
chrome.storage.local.get(["injection_type", "drm_override"], (result) => {
|
||||
if (result.injection_type) {
|
||||
if (result.injection_type !== undefined) {
|
||||
setInjectionType(result.injection_type);
|
||||
}
|
||||
if (result.drm_override) {
|
||||
if (result.drm_override !== undefined) {
|
||||
setDrmOverride(result.drm_override);
|
||||
}
|
||||
});
|
||||
|
52
react/assets/index-Dm2x_tN1.js
Normal file
52
react/assets/index-Dm2x_tN1.js
Normal file
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>CDRM Decryption Extension</title>
|
||||
<script type="module" crossorigin src="./assets/index-BnIE4uKp.js"></script>
|
||||
<script type="module" crossorigin src="./assets/index-Dm2x_tN1.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="./assets/index-DyrP80vq.css">
|
||||
</head>
|
||||
<body class="min-w-full min-h-full w-full h-full">
|
||||
|
Loading…
x
Reference in New Issue
Block a user