Ezerous
6 years ago
No known key found for this signature in database
GPG Key ID: 262B2954BBA319E3
1 changed files with
37 additions and
38 deletions
-
app/src/main/java/gr/thmmy/mthmmy/activities/board/BoardActivity.java
|
|
@ -224,8 +224,7 @@ public class BoardActivity extends BaseActivity implements BoardAdapter.OnLoadMo |
|
|
|
if (newTopicButton == null) |
|
|
|
newTopicButton = boardPage.select("a:has(img[alt=Νέο θέμα])").first(); |
|
|
|
if (newTopicButton != null) newTopicUrl = newTopicButton.attr("href"); |
|
|
|
|
|
|
|
{ //Finds sub boards
|
|
|
|
if(pagesLoaded == 0) { //Finds sub boards
|
|
|
|
Elements subBoardRows = boardPage.select("div.tborder>table>tbody>tr"); |
|
|
|
if (subBoardRows != null && !subBoardRows.isEmpty()) { |
|
|
|
for (Element subBoardRow : subBoardRows) { |
|
|
@ -269,7 +268,7 @@ public class BoardActivity extends BaseActivity implements BoardAdapter.OnLoadMo |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
{ //Finds topics
|
|
|
|
//Finds topics
|
|
|
|
Elements topicRows = boardPage.select("table.bordercolor>tbody>tr"); |
|
|
|
if (topicRows != null && !topicRows.isEmpty()) { |
|
|
|
for (Element topicRow : topicRows) { |
|
|
@ -308,7 +307,7 @@ public class BoardActivity extends BaseActivity implements BoardAdapter.OnLoadMo |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|