Browse Source

Fixed image scaling, indignificant change at SessionManager

pull/24/head
Ezerous 8 years ago
parent
commit
b8a8108c08
  1. 6
      app/src/main/assets/style.css
  2. 1
      app/src/main/java/gr/thmmy/mthmmy/activities/MainActivity.java
  3. 1
      app/src/main/java/gr/thmmy/mthmmy/session/SessionManager.java

6
app/src/main/assets/style.css

@ -836,3 +836,9 @@ ul#topmenu li a:hover
z-index: 90;
width: 100%;
}
img
{
max-width:100% !important;
height:auto !important;
}

1
app/src/main/java/gr/thmmy/mthmmy/activities/MainActivity.java

@ -187,7 +187,6 @@ public class MainActivity extends BaseActivity implements RecentFragment.OnListF
protected void onPostExecute(Integer result)
{
Toast.makeText(getBaseContext(), "Logged out successfully!", Toast.LENGTH_LONG).show();
sessionManager.guestLogin(); //Fall to guest login
hideLogout();
progressDialog.dismiss();
}

1
app/src/main/java/gr/thmmy/mthmmy/session/SessionManager.java

@ -230,6 +230,7 @@ public class SessionManager
} finally {
//All data should always be cleared from device regardless the result of logout
clearSessionData();
guestLogin();
}
}
//--------------------------------------AUTH ENDS-----------------------------------------------

Loading…
Cancel
Save