Skip to content

Commit

Permalink
feat: increase max seniority for recent videos to one month
Browse files Browse the repository at this point in the history
  • Loading branch information
AXeL-dev committed Jun 12, 2022
1 parent 71b1169 commit 037cd6d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/types/Settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ export enum VideosSeniority {
OneDay = 1,
ThreeDays = 3,
SevenDays = 7,
TwoWeeks = 14,
OneMonth = 31,
}

export enum SettingType {
Expand Down
8 changes: 8 additions & 0 deletions src/ui/components/pages/Settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@ export function Settings(props: SettingsProps) {
label: '7 days',
value: VideosSeniority.SevenDays,
},
{
label: '2 weeks',
value: VideosSeniority.TwoWeeks,
},
{
label: '1 month',
value: VideosSeniority.OneMonth,
},
]}
type={SettingType.List}
/>
Expand Down

0 comments on commit 037cd6d

Please sign in to comment.