mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-10 04:37:25 +01:00
Removed description from the community view page
The community's description was shown both on the community page (bellow the subscription button) and on the about page. Now it's only on the about page, to make the UI less cluttered. Closes #42
This commit is contained in:
parent
9149ee224c
commit
484f9607b1
@ -554,12 +554,9 @@ public class ViewSubredditDetailActivity extends BaseActivity implements SortTyp
|
||||
creationTimeTextView.setText(subredditData.getCreatedUTC());
|
||||
description = subredditData.getDescription();
|
||||
|
||||
if (hideSubredditDescription || description.equals("")) {
|
||||
descriptionTextView.setVisibility(View.GONE);
|
||||
} else {
|
||||
descriptionTextView.setVisibility(View.VISIBLE);
|
||||
markwon.setMarkdown(descriptionTextView, description);
|
||||
}
|
||||
|
||||
descriptionTextView.setVisibility(View.GONE);
|
||||
|
||||
|
||||
if (subredditData.isNSFW()) {
|
||||
if (nsfwWarningBuilder == null
|
||||
|
Loading…
Reference in New Issue
Block a user