void (PresentationData from) { myBackground = getValue(myBackground, from.myBackground); myAttributesKey = getValue(myAttributesKey, from.myAttributesKey); myIcon = getValue(myIcon, from.myIcon); if (myColoredText.isEmpty()) { myColoredText.addAll(from.myColoredText); } myFont = getValue(myFont, from.myFont); myForcedTextForeground = getValue(myForcedTextForeground, from.myForcedTextForeground); myLocationString = getValue(myLocationString, from.myLocationString); myPresentableText = getValue(myPresentableText, from.myPresentableText); myTooltip = getValue(myTooltip, from.myTooltip); mySeparatorAbove = mySeparatorAbove || from.mySeparatorAbove; myLocationPrefix = getValue(myLocationPrefix, from.myLocationPrefix); myLocationSuffix = getValue(myLocationSuffix, from.myLocationSuffix); }