mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 05:13:58 +00:00
[android] Fixed missing newlines in bookmark desc
Fixes #5873 Signed-off-by: Rodrigo Salgueiro <rodrigo.correia.salgueiro@tecnico.ulisboa.pt>
This commit is contained in:
committed by
Konstantin Pastbin
parent
3a1df72809
commit
87c44041fc
@@ -477,7 +477,8 @@ public class Holders
|
|||||||
? category.getDescription()
|
? category.getDescription()
|
||||||
: category.getAnnotation();
|
: category.getAnnotation();
|
||||||
|
|
||||||
Spanned spannedDesc = Utils.fromHtml(desc);
|
String formattedDesc = desc.replace("\n", "<br>");
|
||||||
|
Spanned spannedDesc = Utils.fromHtml(formattedDesc);
|
||||||
mDescText.setText(spannedDesc);
|
mDescText.setText(spannedDesc);
|
||||||
|
|
||||||
UiUtils.showIf(!TextUtils.isEmpty(spannedDesc), mDescText);
|
UiUtils.showIf(!TextUtils.isEmpty(spannedDesc), mDescText);
|
||||||
|
|||||||
Reference in New Issue
Block a user