Skip to content

Commit

Permalink
Revert "Add new update frequency options (#1000)" (#1001)
Browse files Browse the repository at this point in the history
* Revert "Add new update frequency options (#1000)"

This reverts commit 5d702f9.

* Remove space

---------

Co-authored-by: Harshith Mohan <[email protected]>
  • Loading branch information
revam and harshithmohan authored Aug 20, 2024
1 parent 5d702f9 commit 401aa98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/core/types/api/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export type SettingsAnidbMylistType = {
MyList_StorageState: MyListStorageState;
};

// Never = 1, HoursSix = 2, HoursTwelve = 3, Daily = 4, WeekOne = 5, MonthOne = 6, HoursThree = 7, HoursOne = 8
export type SettingsUpdateFrequencyType = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
// Never = 1, HoursSix = 2, HoursTwelve = 3, Daily = 4, WeekOne = 5, MonthOne = 6
export type SettingsUpdateFrequencyType = 1 | 2 | 3 | 4 | 5 | 6;

export type SettingsAnidbUpdateType = {
Calendar_UpdateFrequency: SettingsUpdateFrequencyType;
Expand Down
2 changes: 0 additions & 2 deletions src/pages/settings/tabs/AniDBSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ import useSettingsContext from '@/hooks/useSettingsContext';
const UpdateFrequencyValues = () => (
<>
<option value={1}>Never</option>
<option value={8}>Every Hour</option>
<option value={7}>Every 3 Hours</option>
<option value={2}>Every 6 Hours</option>
<option value={3}>Every 12 Hours</option>
<option value={4}>Every 24 Hours</option>
Expand Down

0 comments on commit 401aa98

Please sign in to comment.