fix the missed "action_logout"
This commit is contained in:
parent
b45337f80c
commit
75ed44811a
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue