do not override original description with nulls
The original single language description gets stuck straight into App.description by Jackson. getLocalizedEntry() might return a null, in which case it was overriding the original description. This only overrides the original description if there is actually a localized description.
This commit is contained in:
		
							parent
							
								
									a89323b183
								
							
						
					
					
						commit
						e6844a5f4f
					
				| @ -397,7 +397,7 @@ public class App extends ValueObject implements Comparable<App>, Parcelable { | ||||
|         if (!TextUtils.isEmpty(value)) { | ||||
|             summary = value; | ||||
|         } | ||||
|         description = getLocalizedEntry(localized, localesToUse, "Description"); | ||||
|         value = getLocalizedEntry(localized, localesToUse, "Description"); | ||||
|         if (!TextUtils.isEmpty(value)) { | ||||
|             description = value; | ||||
|         } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Hans-Christoph Steiner
						Hans-Christoph Steiner