Skip to content

Commit

Permalink
fix: fallback to hashtag name
Browse files Browse the repository at this point in the history
Fixes an issue, where Hashtag timeline where created with an empty
hashtag.
  • Loading branch information
FineFindus committed May 7, 2024
1 parent 7801d28 commit f980bba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ protected void makeTimelineEditor(@Nullable TimelineDefinition item, Consumer<Ti
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(),
Expand Down

0 comments on commit f980bba

Please sign in to comment.