Merge pull request #368 from FineFindus/fix/open-link-browser
fix: use correct openURL function
This commit is contained in:
@@ -42,7 +42,7 @@ public class LinkSpan extends CharacterStyle {
|
|||||||
|
|
||||||
public void onClick(Context context){
|
public void onClick(Context context){
|
||||||
switch(getType()){
|
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 MENTION -> UiUtils.openProfileByID(context, accountID, link);
|
||||||
case HASHTAG -> {
|
case HASHTAG -> {
|
||||||
if(linkObject instanceof Hashtag ht)
|
if(linkObject instanceof Hashtag ht)
|
||||||
|
|||||||
Reference in New Issue
Block a user