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; z-index: 90;
width: 100%; 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) protected void onPostExecute(Integer result)
{ {
Toast.makeText(getBaseContext(), "Logged out successfully!", Toast.LENGTH_LONG).show(); Toast.makeText(getBaseContext(), "Logged out successfully!", Toast.LENGTH_LONG).show();
sessionManager.guestLogin(); //Fall to guest login
hideLogout(); hideLogout();
progressDialog.dismiss(); progressDialog.dismiss();
} }

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

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

Loading…
Cancel
Save