included Sparkle
This commit is contained in:
@@ -59,10 +59,11 @@ struct GeneralView: View {
|
||||
var description = os.label.trimmingCharacters(in: .whitespacesAndNewlines)
|
||||
if description.isEmpty {
|
||||
description = distro
|
||||
} else if !distro.isEmpty && distro.caseInsensitiveCompare(description) != .orderedSame {
|
||||
} else if !distro.isEmpty && description.range(of: distro, options: [.caseInsensitive]) == nil {
|
||||
description += " • \(distro)"
|
||||
}
|
||||
if !os.architecture.isEmpty {
|
||||
if !os.architecture.isEmpty &&
|
||||
description.range(of: os.architecture, options: [.caseInsensitive]) == nil {
|
||||
description += " (\(os.architecture))"
|
||||
}
|
||||
if !description.isEmpty {
|
||||
|
||||
Reference in New Issue
Block a user