Skip to content

Commit

Permalink
Please the Compiler by just specifying .description
Browse files Browse the repository at this point in the history
  • Loading branch information
NSAntoine committed Mar 2, 2024
1 parent 3f25802 commit 31d0d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Samra/Backend/DetailItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ struct DetailItemSection: Hashable {
DetailItem(primaryText: "UNIX Timestamp", secondaryText: assetStorage.storageTimestamp())
])

let coreUIVersionText: CustomStringConvertible = assetStorage.responds(to: #selector(CUICommonAssetStorage.coreuiVersion)) ? assetStorage.coreuiVersion() : "Unknown"
let coreUIVersionText = assetStorage.responds(to: #selector(CUICommonAssetStorage.coreuiVersion)) ? assetStorage.coreuiVersion().description : "Unknown"
let coreUISection = DetailItemSection(sectionHeader: "Other", items: [
DetailItem(primaryText: "CoreUI Version", secondaryText: coreUIVersionText),
DetailItem(primaryText: "Schema Version", secondaryText: assetStorage.schemaVersion()),
Expand Down

0 comments on commit 31d0d75

Please sign in to comment.