1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-08-07 20:10:08 +02:00

👌 Fix flickering of incorrect data on first load

This commit is contained in:
2022-01-25 00:09:50 +01:00
parent aeeecd6996
commit 20959501c9

View File

@ -65,6 +65,10 @@ class ServicesView: NSView, XibLoadable {
}
func applyAllInfoFieldsFromCachedValue() {
if ServicesView.services.keys.isEmpty {
return
}
DispatchQueue.main.async {
self.textFieldPhp.stringValue = PhpEnv.phpInstall.formula.uppercased()
self.applyServiceStyling(PhpEnv.phpInstall.formula, self.imageViewPhp)