-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Consolidate screen size/density APIs #6340
Copy link
Copy link
Open
Labels
Taskneither bug nor feature but something that needs to be done in support of eitherneither bug nor feature but something that needs to be done in support of eitherarea-architectureIssues with code structure, SDK structure, implementation detailsIssues with code structure, SDK structure, implementation detailsproposal/underconsiderationt/housekeeping ♻︎
Milestone
Description
We currently have two competing APIs for determining display density and screen size - one from Essentials (with the DisplayInfo struct) and another in WindowHandler (using GetDisplayDensity()). Which is confusing, especially since they have differing opinions on what the density should be when a Window/Screen is not available.
We need to consolidate these APIs to reduce confusion and increase consistency.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Taskneither bug nor feature but something that needs to be done in support of eitherneither bug nor feature but something that needs to be done in support of eitherarea-architectureIssues with code structure, SDK structure, implementation detailsIssues with code structure, SDK structure, implementation detailsproposal/underconsiderationt/housekeeping ♻︎