Skip to content

Commit

Permalink
Move new account age menu in settings
Browse files Browse the repository at this point in the history
  • Loading branch information
asimons04 committed Aug 10, 2024
1 parent cb7c84d commit c89fb9d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/routes/settings/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,12 @@
condition={$userSettings.uiState.MBFCBadges}
/>

<SettingMultiSelect title="New Account Age" icon={CalendarDays}
description="Set the number of days an account is considered 'new'. This also controls the behavior of the new account badge."
options={[1, 2, 3, 5, 7, 10, 14, 30]}
bind:selected={$userSettings.hidePosts.newAccountMinAge}
/>

<!---Hide Posts From New Accounts--->
<SettingToggle title="Hide Posts/Comments From New Accounts" icon={Cake} bind:value={$userSettings.hidePosts.newAccounts}
description="Hide posts and comments from accounts that are considered new. You can set the minimum age for new accounts below. Note that
Expand All @@ -737,11 +743,7 @@
/>


<SettingMultiSelect title="New Account Age" icon={CalendarDays}
description="Set the number of days an account is considered 'new'. This also controls the behavior of the new account badge."
options={[1, 2, 3, 5, 7, 10, 14, 30]}
bind:selected={$userSettings.hidePosts.newAccountMinAge}
/>


<SettingToggle title="Hide Deleted Posts" icon={Trash} bind:value={$userSettings.hidePosts.deleted}
description="Hide posts that have been deleted"
Expand Down

0 comments on commit c89fb9d

Please sign in to comment.