Move required files to settings
This commit is contained in:
@ -57,7 +57,7 @@ extension Settings {
|
||||
|
||||
convenience init(context: LoadingContext, data: Settings.Data) {
|
||||
self.init(
|
||||
general: .init(data: data.general),
|
||||
general: .init(context: context, data: data.general),
|
||||
paths: .init(data: data.paths),
|
||||
navigation: .init(context: context, data: data.navigation),
|
||||
posts: .init(context: context, data: data.posts),
|
||||
@ -112,7 +112,8 @@ extension GeneralSettings {
|
||||
remoteUserForUpload: "user",
|
||||
remotePortForUpload: 22,
|
||||
remotePathForUpload: "/home/user/web",
|
||||
urlForPushNotification: nil)
|
||||
urlForPushNotification: nil,
|
||||
requiredFiles: [])
|
||||
}
|
||||
|
||||
extension AudioPlayerSettings {
|
||||
|
Reference in New Issue
Block a user