Update demo to include acknowledgements

This commit is contained in:
Ira Limitanei 2026-01-23 17:17:36 +09:00
parent 83af8478c3
commit 0b27bf0482
Signed by: lambdaclan
GPG Key ID: 43D6A575B03B80E4

View File

@ -159,8 +159,8 @@ struct Demo: App {
cfg.issues = URL(string: "https://git.aparoksha.dev/aparoksha/adwaita-swift/issues")
cfg.support = URL(string: "https://adwaita-swift.aparoksha.dev/")
cfg.links = [
("Source Code", URL(string: "https://git.aparoksha.dev/aparoksha/adwaita-swift")),
(title: "Donate", url: URL(string: "https://ko-fi.com/david_swift"))
.init(title: "Source Code", url: URL(string: "https://git.aparoksha.dev/aparoksha/adwaita-swift")),
.init(title: "Donate", url: URL(string: "https://ko-fi.com/david_swift"))
]
cfg.copyright = "© 2026 david-swift"
cfg.license = "MIT"
@ -174,6 +174,11 @@ struct Demo: App {
.init(role: .translator, name: "Yuki Nakamura"),
.init(role: .translator, name: "Tod Brown")
]
cfg.acknowledgements = [
.init(title: "Special Thanks", name: "GNOME Project"),
.init(title: "Special Thanks", name: "Swift Programming Language"),
.init(title: "Additional Support", name: "LibAdwaita Contributors")
]
}
.preferencesDialog(visible: $preferences)
.preferencesPage("Page 1", icon: .default(icon: .audioHeadset)) { page in