Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create RichLinkViewTelegram fromMeta #23

Open
leshark opened this issue Jan 31, 2021 · 0 comments
Open

Unable to create RichLinkViewTelegram fromMeta #23

leshark opened this issue Jan 31, 2021 · 0 comments

Comments

@leshark
Copy link

leshark commented Jan 31, 2021

richLinkViewTelegram.setLinkFromMeta(metaData) won't work because of next lines in richLinkViewTelegram.java :

textViewOriginalUrl = (TextView) findViewById(R.id.rich_link_original_url);

textViewOriginalUrl.setText(main_url);
removeUnderlines((Spannable)textViewOriginalUrl.getText());

Trying to set main_url will produce an error because it is an empty string (And the only way to set it is through setLink mehod)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant