mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-11-24 03:09:43 +01:00
Fixed: Fix NullPointerException when getting spanned markdown like for notification
This commit is contained in:
parent
9259ef0be1
commit
87c8f3d35a
1 changed files with 1 additions and 2 deletions
|
|
@ -191,9 +191,8 @@ public class MarkdownUtils {
|
|||
}
|
||||
|
||||
public static Spanned getSpannedMarkdownText(Context context, String string) {
|
||||
|
||||
if (context == null || string == null) return null;
|
||||
final Markwon markwon = getSpannedMarkwonBuilder(context);
|
||||
|
||||
return markwon.toMarkdown(string);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue