calimarkus / JDStatusBarNotification

Highly customizable & feature rich notifications. Interactive dismiss. Custom Views. SwiftUI. Tap-to-hold. Progress. Written in Swift, compatible for ObjC!
http://calimarkus.github.io/JDStatusBarNotification/documentation/jdstatusbarnotification
MIT License
4.19k stars 556 forks source link

Fix pill position with flexible pill heights across devices #122

Closed calimarkus closed 11 months ago

calimarkus commented 1 year ago

Using a non-standard pill height leads to a variable distance on different devices (e.g. dynamic island vs notch vs no-notch). Instead the library should support a constant distance to the closest edge, no matter the pill size. This is e.g. visible for the "small pill" style of the example project.