Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
akliuxingyuan committed Oct 30, 2024
1 parent 961358b commit f6b6f35
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2386,7 +2386,7 @@ abstract class BaseBrowserFragment :
if (webAppToolbarShouldBeVisible) {
browserToolbarView.visible()
_bottomToolbarContainerView?.toolbarContainerView?.isVisible = true
reinitializeEngineView(inFullScreen)
reinitializeEngineView()
browserToolbarView.expand()
_bottomToolbarContainerView?.toolbarContainerView?.expand()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import mozilla.components.support.base.worker.Frequency
import org.mozilla.fenix.BuildConfig
import org.mozilla.fenix.Config
import org.mozilla.fenix.R
import org.mozilla.fenix.ext.settings
import org.mozilla.fenix.autofill.AutofillConfirmActivity
import org.mozilla.fenix.autofill.AutofillSearchActivity
import org.mozilla.fenix.autofill.AutofillUnlockActivity
Expand Down
8 changes: 0 additions & 8 deletions app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1618,14 +1618,6 @@ class HomeFragment : Fragment() {
activity?.openSetDefaultBrowserOption()
}

@VisibleForTesting
internal fun showSetAsDefaultBrowserPrompt() {
val settings = requireContext().settings()
settings.setAsDefaultPromptCalled()

activity?.openSetDefaultBrowserOption()
}

companion object {
// Used to set homeViewModel.sessionToDelete when all tabs of a browsing mode are closed
const val ALL_NORMAL_TABS = "all_normal"
Expand Down

0 comments on commit f6b6f35

Please sign in to comment.