2020-12-28 22:12:09 +00:00
|
|
|
//
|
|
|
|
// SettingsAcknowledgements.swift
|
|
|
|
// DHBW-Service
|
|
|
|
//
|
|
|
|
// Created by Patrick Müller on 28.12.20.
|
|
|
|
//
|
|
|
|
|
|
|
|
import SwiftUI
|
|
|
|
|
|
|
|
struct SettingsAcknowledgements: View {
|
|
|
|
var body: some View {
|
|
|
|
VStack {
|
2020-12-29 10:02:46 +00:00
|
|
|
Text("contributors".localized(tableName: "General", plural: false))
|
2020-12-28 22:12:09 +00:00
|
|
|
.font(/*@START_MENU_TOKEN@*/.title/*@END_MENU_TOKEN@*/)
|
|
|
|
Spacer()
|
2021-05-14 18:37:57 +00:00
|
|
|
Text("David Huh (davidhuh.de)")
|
|
|
|
Text("Lisa Kletsko (li54.de)")
|
|
|
|
Text("Patrick Müller (mueller-patrick.tech)")
|
2020-12-28 22:12:09 +00:00
|
|
|
Spacer()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
struct SettingsAcknowledgements_Previews: PreviewProvider {
|
|
|
|
static var previews: some View {
|
|
|
|
SettingsAcknowledgements()
|
|
|
|
.preferredColorScheme(.dark)
|
2021-02-07 14:51:01 +00:00
|
|
|
.previewDevice("iPhone 12")
|
2020-12-28 22:12:09 +00:00
|
|
|
.environmentObject(getFirstOpening())
|
|
|
|
.environment(\.managedObjectContext, PersistenceController.preview.container.viewContext)
|
|
|
|
}
|
|
|
|
|
|
|
|
static func getFirstOpening() -> LocalSettings {
|
|
|
|
let settings = LocalSettings();
|
|
|
|
settings.isFirstOpening = false;
|
|
|
|
return settings
|
|
|
|
}
|
|
|
|
}
|