fix: use correct openURL function

This commit is contained in:
FineFindus
2024-03-28 20:49:51 +01:00
parent 7a4387a459
commit 974774a913

View File

@@ -42,7 +42,7 @@ public class LinkSpan extends CharacterStyle {
public void onClick(Context context){
switch(getType()){
case URL -> UiUtils.openURL(context, accountID, link, parentObject);
case URL -> UiUtils.openURL(context, accountID, link);
case MENTION -> UiUtils.openProfileByID(context, accountID, link);
case HASHTAG -> {
if(linkObject instanceof Hashtag ht)