+
{({ open }) => (
<>
diff --git a/src/views/components/common/ScheduleListItem.tsx b/src/views/components/common/ScheduleListItem.tsx
index 0a2a84fb..8d9ca413 100644
--- a/src/views/components/common/ScheduleListItem.tsx
+++ b/src/views/components/common/ScheduleListItem.tsx
@@ -166,7 +166,7 @@ export default function ScheduleListItem({ schedule, onClick }: ScheduleListItem
as={ExtensionRootWrapper}
className={clsx([
styleResetClass,
- 'w-fit cursor-pointer origin-top-right rounded bg-white p-1 text-black shadow-lg transition border border-theme-offwhite/50 focus:outline-none',
+ 'w-fit cursor-pointer origin-top-right rounded bg-white p-1 text-black shadow-lg transition border border-ut-offwhite/50 focus:outline-none',
'data-[closed]:(opacity-0 scale-95)',
'data-[enter]:(ease-out-expo duration-150)',
'data-[leave]:(ease-out duration-50)',
diff --git a/src/views/components/settings/Settings.tsx b/src/views/components/settings/Settings.tsx
index ac446efc..d045ba71 100644
--- a/src/views/components/settings/Settings.tsx
+++ b/src/views/components/settings/Settings.tsx
@@ -86,7 +86,7 @@ const useDevMode = (targetCount: number): [boolean, () => void] => {
*/
export default function Settings(): JSX.Element {
const [_enableCourseStatusChips, setEnableCourseStatusChips] = useState(false);
- const [_showTimeLocation, setShowTimeLocation] = useState(false);
+ // const [_showTimeLocation, setShowTimeLocation] = useState(false);
const [highlightConflicts, setHighlightConflicts] = useState(false);
const [loadAllCourses, setLoadAllCourses] = useState(false);
const [_enableDataRefreshing, setEnableDataRefreshing] = useState(false);
@@ -119,14 +119,13 @@ export default function Settings(): JSX.Element {
const initAndSetSettings = async () => {
const {
enableCourseStatusChips,
- enableTimeAndLocationInPopup,
enableHighlightConflicts,
enableScrollToLoad,
enableDataRefreshing,
alwaysOpenCalendarInNewTab,
} = await initSettings();
setEnableCourseStatusChips(enableCourseStatusChips);
- setShowTimeLocation(enableTimeAndLocationInPopup);
+ // setShowTimeLocation(enableTimeAndLocationInPopup);
setHighlightConflicts(enableHighlightConflicts);
setLoadAllCourses(enableScrollToLoad);
setEnableDataRefreshing(enableDataRefreshing);
@@ -150,27 +149,27 @@ export default function Settings(): JSX.Element {
// console.log('enableCourseStatusChips', newValue);
});
- const l2 = OptionsStore.listen('enableTimeAndLocationInPopup', async ({ newValue }) => {
- setShowTimeLocation(newValue);
- // console.log('enableTimeAndLocationInPopup', newValue);
- });
+ // const l2 = OptionsStore.listen('enableTimeAndLocationInPopup', async ({ newValue }) => {
+ // setShowTimeLocation(newValue);
+ // // console.log('enableTimeAndLocationInPopup', newValue);
+ // });
- const l3 = OptionsStore.listen('enableHighlightConflicts', async ({ newValue }) => {
+ const l2 = OptionsStore.listen('enableHighlightConflicts', async ({ newValue }) => {
setHighlightConflicts(newValue);
// console.log('enableHighlightConflicts', newValue);
});
- const l4 = OptionsStore.listen('enableScrollToLoad', async ({ newValue }) => {
+ const l3 = OptionsStore.listen('enableScrollToLoad', async ({ newValue }) => {
setLoadAllCourses(newValue);
// console.log('enableScrollToLoad', newValue);
});
- const l5 = OptionsStore.listen('enableDataRefreshing', async ({ newValue }) => {
+ const l4 = OptionsStore.listen('enableDataRefreshing', async ({ newValue }) => {
setEnableDataRefreshing(newValue);
// console.log('enableDataRefreshing', newValue);
});
- const l6 = OptionsStore.listen('alwaysOpenCalendarInNewTab', async ({ newValue }) => {
+ const l5 = OptionsStore.listen('alwaysOpenCalendarInNewTab', async ({ newValue }) => {
setCalendarNewTab(newValue);
// console.log('alwaysOpenCalendarInNewTab', newValue);
});
@@ -182,7 +181,6 @@ export default function Settings(): JSX.Element {
OptionsStore.removeListener(l3);
OptionsStore.removeListener(l4);
OptionsStore.removeListener(l5);
- OptionsStore.removeListener(l6);
window.removeEventListener('keydown', handleKeyPress);
};