Small improvement

pull/214/head
M66B 10 months ago
parent cbc19ed5f4
commit 8f43a4f013

@ -56,7 +56,7 @@ public class FragmentEula extends FragmentBase {
btnAgree.setOnClickListener(new View.OnClickListener() { btnAgree.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View view) { public void onClick(View view) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext()); SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(view.getContext());
prefs.edit().putBoolean("eula", true).apply(); prefs.edit().putBoolean("eula", true).apply();
} }
}); });

Loading…
Cancel
Save