Long pressing a malformed link crashes the app - eviltoast

Long-pressing the link in [https://lemmy.ml/comment/7302466](this comment) will cause Boost to crash.

The link markdown is wrong, with the URL in the text tag and the destination tag empty, but this shouldn’t crash the app.

Alternate test link in case the commenter fixes it: https://www.example.com

  • Quetzalcutlass@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    10 months ago

    Yes, but Boost should show an error toast when it encounters problems like this instead of crashing. Tapping the broken link already does show a toast.