devicekit / DeviceKit

DeviceKit is a value-type replacement of UIDevice.
MIT License
4.42k stars 430 forks source link

Fix bug: Incorrect values being returned on simulator. #227

Closed Zandor300 closed 4 years ago

Zandor300 commented 4 years ago

Fixes https://github.com/devicekit/DeviceKit/issues/224

devicekit-danger-bot commented 4 years ago
3 Warnings
:warning: Plist changed, don’t forget to localize your plist values
:warning: Source/Device.generated.swift#L667 - Prefer non-optional booleans over optional booleans.
:warning: Source/Device.generated.swift#L1262 - Prefer empty collection over optional collection.

SwiftLint found issues

Warnings

File Line Reason
Device.generated.swift 667 Prefer non-optional booleans over optional booleans.
Device.generated.swift 1262 Prefer empty collection over optional collection.

Generated by :no_entry_sign: Danger

denisenepraunig commented 4 years ago

Thanks for the fix ☺️👍