diff --git a/Clocker/Model/CLTimezoneDataOperations.m b/Clocker/Model/CLTimezoneDataOperations.m index b71c888..c9f6aaa 100644 --- a/Clocker/Model/CLTimezoneDataOperations.m +++ b/Clocker/Model/CLTimezoneDataOperations.m @@ -73,9 +73,18 @@ if (shouldCityBeShown.boolValue == 0) { - self.dataObject.customLabel.length > 0 ? - [menuTitle appendString:self.dataObject.customLabel] : - [menuTitle appendString:self.dataObject.formattedAddress]; + if (self.dataObject.formattedAddress.length > 0) { + self.dataObject.customLabel.length > 0 ? + [menuTitle appendString:self.dataObject.customLabel] : + [menuTitle appendString:self.dataObject.formattedAddress]; + } + else + { + self.dataObject.customLabel.length > 0 ? + [menuTitle appendString:self.dataObject.customLabel] : + [menuTitle appendString:self.dataObject.timezoneID]; + } + }