mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +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.getAnnotation();
|
||||
|
||||
Spanned spannedDesc = Utils.fromHtml(desc);
|
||||
String formattedDesc = desc.replace("\n", "<br>");
|
||||
Spanned spannedDesc = Utils.fromHtml(formattedDesc);
|
||||
mDescText.setText(spannedDesc);
|
||||
|
||||
UiUtils.showIf(!TextUtils.isEmpty(spannedDesc), mDescText);
|
||||
|
||||
Reference in New Issue
Block a user