diff --git a/app/src/main/java/gr/thmmy/mthmmy/activities/TopicActivity.java b/app/src/main/java/gr/thmmy/mthmmy/activities/TopicActivity.java index bd3bec83..e7385f4e 100644 --- a/app/src/main/java/gr/thmmy/mthmmy/activities/TopicActivity.java +++ b/app/src/main/java/gr/thmmy/mthmmy/activities/TopicActivity.java @@ -434,7 +434,7 @@ public class TopicActivity extends BaseActivity { if (line.contains("Posts:")) { postsLineIndex = infoList.indexOf(line); //Remove any line breaks and spaces on the start and end - p_numberOfPosts = p_personalText.replace("\n", "") + p_numberOfPosts = line.replace("\n", "") .replace("\r", "").trim(); } if (line.contains("Gender:")) { @@ -469,7 +469,8 @@ public class TopicActivity extends BaseActivity { //If this line isn't empty and doesn't contain user's avatar if (!Objects.equals(thisLine, "") && thisLine != null && !Objects.equals(thisLine, " \n") - && !thisLine.contains("avatar")) { + && !thisLine.contains("avatar") + && !thisLine.contains("