Skip to content

Commit 9bfad0d

Browse files
authored
Fixed UninitializedPropertyAccessException in Custom Tab. (#4657)
Task/Issue URL: https://app.asana.com/0/1200581511062568/1207587829937570/f ### Description Fixed UninitializedPropertyAccessException in Custom Tab. ### Steps to test this PR Note: Could not reproduce the issue. ### NO UI changes
1 parent fb17910 commit 9bfad0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/duckduckgo/app/browser/BrowserTabFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2948,7 +2948,7 @@ class BrowserTabFragment :
29482948
pulseAnimation.stop()
29492949
animatorHelper.removeListener()
29502950
supervisorJob.cancel()
2951-
popupMenu.dismiss()
2951+
if (::popupMenu.isInitialized) popupMenu.dismiss()
29522952
loginDetectionDialog?.dismiss()
29532953
automaticFireproofDialog?.dismiss()
29542954
browserAutofill.removeJsInterface()

0 commit comments

Comments
 (0)