mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-01-29 18:09:21 +01:00
Remove nested if
This commit is contained in:
parent
5048eb10d2
commit
97b5779c4a
@ -377,12 +377,10 @@ public class FeedItem extends FeedComponent implements ShownotesProvider, Flattr
|
||||
return description;
|
||||
} else if (TextUtils.isEmpty(description)) {
|
||||
return contentEncoded;
|
||||
} else if (description.length() > 1.25 * contentEncoded.length()) {
|
||||
return description;
|
||||
} else {
|
||||
if (description.length() > 1.25 * contentEncoded.length()) {
|
||||
return description;
|
||||
} else {
|
||||
return contentEncoded;
|
||||
}
|
||||
return contentEncoded;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user