fix: fallback to hashtag name
Fixes an issue, where Hashtag timeline where created with an empty hashtag.
This commit is contained in:
parent
7801d28a23
commit
f980bba7cd
|
@ -396,7 +396,7 @@ public class EditTimelinesFragment extends MastodonRecyclerFragment<TimelineDefi
|
||||||
tl.setTitle(name);
|
tl.setTitle(name);
|
||||||
if(item == null || item.getType()==TimelineDefinition.TimelineType.HASHTAG){
|
if(item == null || item.getType()==TimelineDefinition.TimelineType.HASHTAG){
|
||||||
tl.setTagOptions(
|
tl.setTagOptions(
|
||||||
mainHashtag,
|
TextUtils.isEmpty(mainHashtag) ? name : mainHashtag,
|
||||||
tagsAny.getChipValues(),
|
tagsAny.getChipValues(),
|
||||||
tagsAll.getChipValues(),
|
tagsAll.getChipValues(),
|
||||||
tagsNone.getChipValues(),
|
tagsNone.getChipValues(),
|
||||||
|
|
Loading…
Reference in New Issue