fix: fallback to hashtag name

Fixes an issue, where Hashtag timeline where created with an empty
hashtag.
This commit is contained in:
FineFindus
2024-05-07 18:28:47 +02:00
parent 7801d28a23
commit f980bba7cd

View File

@@ -396,7 +396,7 @@ public class EditTimelinesFragment extends MastodonRecyclerFragment<TimelineDefi
tl.setTitle(name);
if(item == null || item.getType()==TimelineDefinition.TimelineType.HASHTAG){
tl.setTagOptions(
mainHashtag,
TextUtils.isEmpty(mainHashtag) ? name : mainHashtag,
tagsAny.getChipValues(),
tagsAll.getChipValues(),
tagsNone.getChipValues(),