Skip to content

Commit c5a0624

Browse files
committed
Fixed variable name
1 parent bebd2b4 commit c5a0624

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

app/src/main/java/org/schabi/newpipe/settings/DebugSettingsFragment.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ public void onCreatePreferences(final Bundle savedInstanceState, final String ro
4040
assert showErrorSnackbarPreference != null;
4141
assert createErrorNotificationPreference != null;
4242

43-
final Optional<DebugSettingsBVLeakCanaryAPI> optPDLeakCanary = getBVLeakCanary();
43+
final Optional<DebugSettingsBVLeakCanaryAPI> optBVLeakCanary = getBVLeakCanary();
4444

45-
allowHeapDumpingPreference.setEnabled(optPDLeakCanary.isPresent());
46-
showMemoryLeaksPreference.setEnabled(optPDLeakCanary.isPresent());
45+
allowHeapDumpingPreference.setEnabled(optBVLeakCanary.isPresent());
46+
showMemoryLeaksPreference.setEnabled(optBVLeakCanary.isPresent());
4747

48-
if (optPDLeakCanary.isPresent()) {
49-
final DebugSettingsBVLeakCanaryAPI pdLeakCanary = optPDLeakCanary.get();
48+
if (optBVLeakCanary.isPresent()) {
49+
final DebugSettingsBVLeakCanaryAPI pdLeakCanary = optBVLeakCanary.get();
5050

5151
showMemoryLeaksPreference.setOnPreferenceClickListener(preference -> {
5252
startActivity(pdLeakCanary.getNewLeakDisplayActivityIntent());

0 commit comments

Comments
 (0)