Commit 9e0463cc authored by Adrien Dorsaz's avatar Adrien Dorsaz

Corrects call of SettingsActivity.

parent 7dd2e8db
......@@ -120,11 +120,7 @@ public class ArticleListActivity extends ListActivity {
fetchNews();
break;
case R.id.menu_settings:
Editor editor = getSharedPreferences(
SettingsActivity.SHARED_PREFERENCES,
Activity.MODE_PRIVATE).edit();
editor.putBoolean(SettingsActivity.WANT_TO_EDIT_PREF, true);
editor.commit();
SettingsActivity.setWantToEdit();
Intent intent;
intent = new Intent(this, SettingsActivity.class);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment