mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-01-03 14:40:07 +02:00
Fix issue #66 - Bad tags when clicking on a tag
This commit is contained in:
parent
ffbad79826
commit
42df8dfcb6
2 changed files with 6 additions and 4 deletions
|
@ -178,14 +178,16 @@ public class FragmentMastodonTimeline extends Fragment {
|
|||
statusReport = (Status) getArguments().getSerializable(Helper.ARG_STATUS_REPORT);
|
||||
}
|
||||
if (tagTimeline != null) {
|
||||
ident = tagTimeline.name;
|
||||
ident = "@T@" + tagTimeline.name;
|
||||
if (tagTimeline.isART) {
|
||||
timelineType = Timeline.TimeLineEnum.ART;
|
||||
}
|
||||
} else if (list_id != null) {
|
||||
ident = list_id;
|
||||
ident = "@l@" + list_id;
|
||||
} else if (remoteInstance != null) {
|
||||
ident = remoteInstance;
|
||||
ident = "@R@" + remoteInstance;
|
||||
} else if (search != null) {
|
||||
ident = "@S@" + search;
|
||||
} else {
|
||||
ident = null;
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ public class TopBarVM extends AndroidViewModel {
|
|||
Handler mainHandler = new Handler(Looper.getMainLooper());
|
||||
Pinned pinnedTimeline = null;
|
||||
try {
|
||||
pinnedTimeline = pinned.getAllPinned(BaseMainActivity.accountWeakReference.get());
|
||||
pinnedTimeline = pinned.getPinned(BaseMainActivity.accountWeakReference.get());
|
||||
} catch (DBException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue