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:
@ -65,6 +65,10 @@ class ServicesView: NSView, XibLoadable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func applyAllInfoFieldsFromCachedValue() {
|
func applyAllInfoFieldsFromCachedValue() {
|
||||||
|
if ServicesView.services.keys.isEmpty {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
DispatchQueue.main.async {
|
DispatchQueue.main.async {
|
||||||
self.textFieldPhp.stringValue = PhpEnv.phpInstall.formula.uppercased()
|
self.textFieldPhp.stringValue = PhpEnv.phpInstall.formula.uppercased()
|
||||||
self.applyServiceStyling(PhpEnv.phpInstall.formula, self.imageViewPhp)
|
self.applyServiceStyling(PhpEnv.phpInstall.formula, self.imageViewPhp)
|
||||||
|
Reference in New Issue
Block a user