Skip to content

Commit 45b12e5

Browse files
committed
name is no longer optional
Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc>
1 parent 374ace7 commit 45b12e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/MuninKit/Gallery.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public struct GalleryConfiguration {
159159
public init(
160160
_ manager: ConfigurationManager
161161
) {
162-
name = manager["name"] as? String ?? "root"
162+
name = "root"
163163
people = manager["people"] as? [String] ?? []
164164
peopleFiles = manager["peopleFiles"] as? [String] ?? []
165165
resolutions = manager["resolutions"] as? [Int] ?? [1600, 1200, 992, 768, 576, 340, 220, 180]

0 commit comments

Comments
 (0)