fix: allows for editing timeline badges again. fixes sk22#800 (#804)
This commit is contained in:
parent
53369eb2d4
commit
f14df2bb0f
|
@ -344,7 +344,7 @@ public class EditTimelinesFragment extends MastodonRecyclerFragment<TimelineDefi
|
||||||
mainHashtag = name;
|
mainHashtag = name;
|
||||||
name = null;
|
name = null;
|
||||||
}
|
}
|
||||||
if (TextUtils.isEmpty(mainHashtag)) {
|
if (TextUtils.isEmpty(mainHashtag) && (item != null && item.getType() == TimelineDefinition.TimelineType.HASHTAG)) {
|
||||||
Toast.makeText(ctx, R.string.sk_add_timeline_tag_error_empty, Toast.LENGTH_SHORT).show();
|
Toast.makeText(ctx, R.string.sk_add_timeline_tag_error_empty, Toast.LENGTH_SHORT).show();
|
||||||
onSave.accept(null);
|
onSave.accept(null);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue