fix the missed "action_logout"

This commit is contained in:
ikarulus 2019-02-21 15:18:35 +01:00
parent b45337f80c
commit 75ed44811a

View file

@ -76,7 +76,7 @@ public class MainActivity extends AppCompatActivity implements AsyncTaskCallback
//noinspection SimplifiableIfStatement //noinspection SimplifiableIfStatement
if (id == R.id.action_settings) { 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");