Skip to content
Snippets Groups Projects
Commit 32cd8f94 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

ExtensionManager: Properly name callback params

parent bcf9bdcc
No related branches found
No related tags found
No related merge requests found
......@@ -182,7 +182,7 @@ public class ExtensionsManager {
})
.setPositiveButton(R.string.yes, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int _) {
public void onClick(DialogInterface dialogInterface, int which) {
PreferenceManager.getDefaultSharedPreferences(activity.getApplication()).edit().putBoolean(key, true).apply();
for (int i=0; i<extraTitles.size(); i++)
PreferenceManager.getDefaultSharedPreferences(activity.getApplication()).edit().putBoolean(extraKeys.get(i), extraCheckedStates[i]).apply();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment