feat: separate instance options

This commit is contained in:
Xyphyn committed 2023-08-03 12:17:34 -07:00
1 parent e34cace14f
commit 56b2175ab3
7 files changed
+55 -16

No files matched your search

+10 -2
View File
@@ -6,7 +6,11 @@ interface Settings {
markReadPosts: boolean
instance?: string
revertColors: boolean
showInstance: boolean
showInstances: {
user: boolean
community: boolean
comments: boolean
}
showCompactPosts: boolean
defaultSort: {
sort: 'Hot' | 'TopAll' | 'Active' | 'New'
@@ -20,7 +24,11 @@ const defaultSettings: Settings = {
expandableImages: true,
markReadPosts: true,
revertColors: false,
showInstance: false,
showInstances: {
user: false,
community: false,
comments: false,
},
showCompactPosts: false,
defaultSort: {
sort: 'Active',