flowkey / UIKit-cross-platform

Cross-platform Swift implementation of UIKit, mostly for Android
MIT License
598 stars 40 forks source link

fix crash in font rendering #366

Closed michaelknoch closed 2 years ago

michaelknoch commented 2 years ago

Type of change: bugfix

Motivation (current vs expected behavior)

Fixes a crash which happens when initing UIFont while main screen doesn't exist. See https://github.com/flowkey/NativePlayer/pull/981

Please check if the PR fulfills these requirements

ephemer commented 2 years ago

Hi @michaelknoch let's have a quick call about this. I am skeptical that the latest PRs are the correct way to tackle the crashes we are seeing

michaelknoch commented 2 years ago

closing this because of https://github.com/flowkey/UIKit-cross-platform/pull/367 fyi @rikner