DeviceKit icon indicating copy to clipboard operation
DeviceKit copied to clipboard

Add canvas detection

Open JackYoustra opened this issue 4 years ago • 2 comments

See #302

JackYoustra avatar Oct 28 '21 22:10 JackYoustra

@denisenepraunig why are the tests failing?

JackYoustra avatar Dec 09 '21 21:12 JackYoustra

/Users/runner/work/DeviceKit/DeviceKit/Tests/Tests.swift:32:27: error: value of type 'Device' has no member 'isCanvas'
    XCTAssertFalse(device.isCanvas)
                   ~~~~~~ ^~~~~~~~

@JackYoustra isCanvas isn't available on tvOS. If you move your method in the Device class to be included on tvOS (and watchOS possibly), it should fix it.

https://github.com/devicekit/DeviceKit/runs/4045134200?check_suite_focus=true#step:4:705

Zandor300 avatar Dec 10 '21 08:12 Zandor300