mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-20 14:57:15 -04:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user