Browse Source

Custom bottom bar for page navigation. Expandable cards show/hide date and post number. FAB for post actions etc. Prepared parse for focus on message.

pull/24/head
Apostolos Fanakis 8 years ago
parent
commit
64fd61de41
  1. 2
      app/src/main/java/gr/thmmy/mthmmy/activities/BaseActivity.java

2
app/src/main/java/gr/thmmy/mthmmy/activities/BaseActivity.java

@ -215,7 +215,7 @@ public class BaseActivity extends AppCompatActivity {
Response response = client.newCall(request).execute(); Response response = client.newCall(request).execute();
Document document = Jsoup.parse(response.body().string()); Document document = Jsoup.parse(response.body().string());
Elements login = document.select("[value=Login]"); //Find login button Elements login = document.select("[pageValue=Login]"); //Find login button
((PersistentCookieJar) getCookieJar()).clear(); ((PersistentCookieJar) getCookieJar()).clear();
if (!login.isEmpty()) { //If found, logout was successful if (!login.isEmpty()) { //If found, logout was successful
Log.i("Logout", "Logout successful"); Log.i("Logout", "Logout successful");

Loading…
Cancel
Save