Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

For #15402: Hide ETP pop-up if the toolbar is not visible #15667

Merged
merged 5 commits into from Oct 9, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -49,7 +49,7 @@ class TrackingProtectionOverlay(

@Suppress("MagicNumber", "InflateParams")
private fun showTrackingProtectionOnboarding() {
if (!getToolbar().hasWindowFocus()) return
if (getToolbar().translationY > 0) return
Mugurell marked this conversation as resolved.
Show resolved Hide resolved

val trackingOnboardingDialog = object : Dialog(context) {
override fun onTouchEvent(event: MotionEvent): Boolean {
Expand Down