Githawk: preferredContentSizeCategory called on background thread

Created on 15 Jul 2018  路  3Comments  路  Source: GitHawkApp/GitHawk

Repeat of #1225.. as stated in original thread, not an urgent issue, just throwing a "Main Thread Checker: UI API called on a background thread" warning in XCode.

The preferredFont property that's causing the warning is accessed here and then here in NotificationCell, from this function.

馃悰 bug low priority

All 3 comments

I guess those are being evaluated lazily? Is that how static works in Swift?

Sent with GitHawk

yeah that must be it, calling

let _ = NotificationCell.inset 

anywhere on the main thread silences the warning

@BrianLitwin @rnystrom
Fixed #2037

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rnystrom picture rnystrom  路  3Comments

rnystrom picture rnystrom  路  3Comments

rnystrom picture rnystrom  路  3Comments

jessesquires picture jessesquires  路  3Comments

Iron-Ham picture Iron-Ham  路  3Comments