File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -561,11 +561,11 @@ extension Client {
561
561
let info = deviceInfo.iOSInfo
562
562
device = "\(info!.modelIdentifier) iOS/\(info!.systemVersion)"
563
563
#elseif os(watchOS)
564
- let info = deviceInfo.watchOSInfo
565
- device = "\(info!.systemInfo.machine ) watchOS/\(info!.systemVersion)"
564
+ let info = deviceInfo.iOSInfo
565
+ device = "\(info!.modelIdentifier ) watchOS/\(info!.systemVersion)"
566
566
#elseif os(tvOS)
567
- let info = deviceInfo.tvOSInfo
568
- device = "\(info!.systemInfo.machine ) tvOS/\(info!.systemVersion)"
567
+ let info = deviceInfo.iOSInfo
568
+ device = "\(info!.modelIdentifier ) tvOS/\(info!.systemVersion)"
569
569
#elseif os(macOS)
570
570
let info = deviceInfo.macOSInfo
571
571
device = "(Macintosh; \(info!.model))"
You can’t perform that action at this time.
0 commit comments