Closed Ben-Jian closed 2 months ago
This has been fixed in v1.4.6, please check for updates😊
The issue with macbook is resolved!
But there is still a problem with the iPhone icon due to a logic error:
in AirBattery/Supports.swift at line 480:
if (Int(id) ?? 0 > 14) { return "iphone-gen2" }
should be:
if (Int(id) ?? 0 < 14) { return "iphone-gen2" }
Additionally, at line 485:
if let model = d.deviceModel, let m = model.components(separatedBy: ",").first, let id = m.components(separatedBy: "e").last {
should be
if let model = d.deviceModel, let m = model.components(separatedBy: ",").first, let id = m.components(separatedBy: "d").last {
Ok, it's fixed in v1.4.7, I also added support for Apple Pencil in this version
Thank you for your hard work! 🎉🎉🎉
I am using a MacBook Air M1, which does not have a notch. However, the widget incorrectly displays the MacBook with a notch. Similarly, the widget incorrectly shows my iPhone as having a dynamic island instead of a notch.