Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ class BrowserActivity : DuckDuckGoActivity(), CoroutineScope by MainScope() {

private var lastIntent: Intent? = null

private var currentAppEnjoymentFragment: DialogFragment? = null

private lateinit var renderer: BrowserStateRenderer

private var openMessageInNewTabJob: Job? = null
Expand Down Expand Up @@ -433,9 +431,8 @@ class BrowserActivity : DuckDuckGoActivity(), CoroutineScope by MainScope() {
get() = (flags and Intent.FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY) == Intent.FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY

private fun showAppEnjoymentPrompt(prompt: DialogFragment) {
currentAppEnjoymentFragment?.dismiss()
(supportFragmentManager.findFragmentByTag(APP_ENJOYMENT_DIALOG_TAG) as? DialogFragment)?.dismiss()
prompt.show(supportFragmentManager, APP_ENJOYMENT_DIALOG_TAG)
currentAppEnjoymentFragment = prompt
}

private fun hideWebContent() {
Expand Down