Small improvement

This commit is contained in:
M66B 2023-02-18 08:56:59 +01:00
parent af92c07f49
commit 5cb693a7d9
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ public class FragmentSetup extends FragmentBase implements SharedPreferences.OnS
btnQuick.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
final Context context = getContext();
final Context context = v.getContext();
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean debug = (prefs.getBoolean("debug", false) || BuildConfig.DEBUG);