1
0
Fork 0

Issue #5233: Added call to doesPrivateBrowsingPinnedShortcutExist function to determine whether the "recommend private browing shortcut" dialog is displayed.

master
bswe 2019-10-03 12:04:27 -07:00
parent 9913a024d8
commit 7ec714552f
1 changed files with 2 additions and 1 deletions

View File

@ -347,8 +347,9 @@ class HomeFragment : Fragment() {
} }
} }
}, owner = this) }, owner = this)
if (context.settings().showPrivateModeContextualFeatureRecommender && if (context.settings().showPrivateModeContextualFeatureRecommender &&
browsingModeManager.mode.isPrivate) { browsingModeManager.mode.isPrivate && !PrivateShortcutCreateManager.doesPrivateBrowsingPinnedShortcutExist(requireContext())) {
recommendPrivateBrowsingShortcut() recommendPrivateBrowsingShortcut()
} }
} }