diff --git a/src/Popup/Pages/OtherOptionsPage/index.tsx b/src/Popup/Pages/OtherOptionsPage/index.tsx index 6b9089a..e743004 100644 --- a/src/Popup/Pages/OtherOptionsPage/index.tsx +++ b/src/Popup/Pages/OtherOptionsPage/index.tsx @@ -18,9 +18,9 @@ const OtherOptionsPage = ({ tab }: OtherOptionsPageProps) => { Other Options - + diff --git a/src/Popup/Pages/SystemPage/index.tsx b/src/Popup/Pages/SystemPage/index.tsx index 0bb1d10..2286f52 100644 --- a/src/Popup/Pages/SystemPage/index.tsx +++ b/src/Popup/Pages/SystemPage/index.tsx @@ -23,7 +23,7 @@ const SystemPage = ({ tab, ipData }: SystemPageProps) => { chrome.storage.local.get( ['systemType', 'configuration', 'timezone', 'locale', 'lat', 'lon'], (storage) => { - if (storage.systemType === 'custom') { + if (storage.systemType !== 'default') { storage.configuration && setConfiguration(storage.configuration) storage.timezone && setTimezone(storage.timezone) storage.locale && setLocale(storage.locale) diff --git a/src/Popup/Pages/WebRtcPage/index.tsx b/src/Popup/Pages/WebRtcPage/index.tsx index b368de7..e5ba5b5 100644 --- a/src/Popup/Pages/WebRtcPage/index.tsx +++ b/src/Popup/Pages/WebRtcPage/index.tsx @@ -16,13 +16,6 @@ const WebRtcPage = ({ tab }: SystemPageProps) => { }) }, []) - // chrome.privacy.network.webRTCIPHandlingPolicy.onChange.addListener(function ( - // details - // ) { - // console.log(details) - // setWebRtcPolicy(details.value) - // }) - const changeRadioValue = (e: ChangeEvent) => { handleWebRtcPolicy(e.target.value) setWebRtcPolicy(e.target.value) @@ -48,7 +41,7 @@ const WebRtcPage = ({ tab }: SystemPageProps) => { /> { /> { /> - {/* */} ) }