Commit ba51642b authored by Edward Wang's avatar Edward Wang
Browse files

Actually show the toast so that it's visible

parent befb97de
...@@ -137,7 +137,7 @@ public class PreferencesActivity extends PreferenceActivity { ...@@ -137,7 +137,7 @@ public class PreferencesActivity extends PreferenceActivity {
public boolean onPreferenceClick(Preference preference) { public boolean onPreferenceClick(Preference preference) {
DatabaseManager.getInstance(getBaseContext()).emptyDatabase(); DatabaseManager.getInstance(getBaseContext()).emptyDatabase();
Toast.makeText(getBaseContext(), "Media database cleared!", Toast.LENGTH_SHORT); Toast.makeText(getBaseContext(), "Media database cleared!", Toast.LENGTH_SHORT).show();
return true; return true;
} }
}); });
......
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