commit
5a277dd869
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ public class MainActivity extends AppCompatActivity implements AsyncTaskCallback
|
||||||
if (id == R.id.action_logout) {
|
if (id == R.id.action_logout) {
|
||||||
SharedPreferences sharedPref = getSharedPreferences("persistence", MODE_PRIVATE);
|
SharedPreferences sharedPref = getSharedPreferences("persistence", MODE_PRIVATE);
|
||||||
SharedPreferences.Editor editor = sharedPref.edit();
|
SharedPreferences.Editor editor = sharedPref.edit();
|
||||||
editor.remove("loginkey");
|
editor.remove("loginKey");
|
||||||
editor.apply();
|
editor.apply();
|
||||||
Intent intent = new Intent(this, LoginActivity.class);
|
Intent intent = new Intent(this, LoginActivity.class);
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue