mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-01-07 00:20:08 +02:00
Fix issue #478 - Tags cannot be followed when clicking on them.
This commit is contained in:
parent
6d99ab479f
commit
0e8354b0c1
1 changed files with 2 additions and 1 deletions
|
@ -146,7 +146,8 @@ public class TagVM extends AndroidViewModel {
|
||||||
tagMutableLiveData = new MutableLiveData<>();
|
tagMutableLiveData = new MutableLiveData<>();
|
||||||
new Thread(() -> {
|
new Thread(() -> {
|
||||||
Tag tag = null;
|
Tag tag = null;
|
||||||
Call<Tag> tagCall = mastodonTagService.follow(token, name);
|
String filteredValue = name.replaceAll("\\#", "");
|
||||||
|
Call<Tag> tagCall = mastodonTagService.follow(token, filteredValue);
|
||||||
if (tagCall != null) {
|
if (tagCall != null) {
|
||||||
try {
|
try {
|
||||||
Response<Tag> appResponse = tagCall.execute();
|
Response<Tag> appResponse = tagCall.execute();
|
||||||
|
|
Loading…
Reference in a new issue