1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 18:27:43 +00:00

Small improvement

This commit is contained in:
M66B 2023-02-18 08:56:59 +01:00
parent af92c07f49
commit 5cb693a7d9

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);