Add page settings, improve settings UI
This commit is contained in:
@ -8,9 +8,9 @@ final class PostSettings: ObservableObject {
|
||||
|
||||
/// The maximum width of the main content
|
||||
@Published
|
||||
var contentWidth: CGFloat
|
||||
var contentWidth: Int
|
||||
|
||||
init(postsPerPage: Int, contentWidth: CGFloat) {
|
||||
init(postsPerPage: Int, contentWidth: Int) {
|
||||
self.postsPerPage = postsPerPage
|
||||
self.contentWidth = contentWidth
|
||||
}
|
||||
|
Reference in New Issue
Block a user