Merge pull request #368 from FineFindus/fix/open-link-browser

fix: use correct openURL function
This commit is contained in:
LucasGGamerM
2024-03-28 17:32:44 -03:00
committed by GitHub

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)