feat: add sort to settings
This commit is contained in:
1 parent
dc1aba6c17
commit
2c4826e745
3 files changed
+9
-8
No files matched your search
+2
-1
@@ -1,3 +1,4 @@
|
||||
import type { SortType } from 'lemmy-js-client'
|
||||
import { writable } from 'svelte/store'
|
||||
|
||||
interface Settings {
|
||||
@@ -13,7 +14,7 @@ interface Settings {
|
||||
}
|
||||
showCompactPosts: boolean
|
||||
defaultSort: {
|
||||
sort: 'Hot' | 'TopAll' | 'Active' | 'New'
|
||||
sort: SortType
|
||||
feed: 'All' | 'Subscribed' | 'Local'
|
||||
}
|
||||
fullWidthLayout: boolean
|
||||
|
||||
Reference in new issue
Block a user