blob: 808f52d75efdea2c8d49da9103abe8fc8e34b7af (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
import SwiftUI
class Settings: ObservableObject {
#if DEBUG
@AppStorage("detailViewType") var detailViewType: PostFileType = .compressed
#else
@AppStorage("detailViewType") var detailViewType: PostFileType = .original
#endif
@AppStorage("thumbnailType") var thumbnailType: PostFileType = .preview
@AppStorage("searchSuggestions") var searchSuggestions: Bool = false
@AppStorage("columns") var columns: Int = 2
}
|