Matthew Finkel pushed to branch tor-browser-82.0.0b4-10.0-1 at The Tor Project / Applications / fenix

Commits:

1 changed file:

Changes:

  • app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt
    ... ... @@ -87,9 +87,7 @@ import org.mozilla.fenix.components.PrivateShortcutCreateManager
    87 87
     import org.mozilla.fenix.components.StoreProvider
    
    88 88
     import org.mozilla.fenix.components.TabCollectionStorage
    
    89 89
     import org.mozilla.fenix.components.metrics.Event
    
    90
    -import org.mozilla.fenix.components.tips.FenixTipManager
    
    91 90
     import org.mozilla.fenix.components.tips.Tip
    
    92
    -import org.mozilla.fenix.components.tips.providers.MasterPasswordTipProvider
    
    93 91
     import org.mozilla.fenix.components.toolbar.TabCounterMenu
    
    94 92
     import org.mozilla.fenix.components.toolbar.ToolbarPosition
    
    95 93
     import org.mozilla.fenix.ext.components
    
    ... ... @@ -218,17 +216,6 @@ class HomeFragment : Fragment() {
    218 216
                         expandedCollections = emptySet(),
    
    219 217
                         mode = currentMode.getCurrentMode(),
    
    220 218
                         topSites = components.core.topSitesStorage.cachedTopSites,
    
    221
    -                    tip = StrictMode.allowThreadDiskReads().resetPoliciesAfter {
    
    222
    -                        FenixTipManager(
    
    223
    -                            listOf(
    
    224
    -                                MasterPasswordTipProvider(
    
    225
    -                                    requireContext(),
    
    226
    -                                    ::navToSavedLogins,
    
    227
    -                                    ::dismissTip
    
    228
    -                                )
    
    229
    -                            )
    
    230
    -                        ).getTip()
    
    231
    -                    },
    
    232 219
                         showCollectionPlaceholder = components.settings.showCollectionsPlaceholderOnHome
    
    233 220
                     )
    
    234 221
                 )
    
    ... ... @@ -685,17 +672,6 @@ class HomeFragment : Fragment() {
    685 672
                     collections = components.core.tabCollectionStorage.cachedTabCollections,
    
    686 673
                     mode = currentMode.getCurrentMode(),
    
    687 674
                     topSites = components.core.topSitesStorage.cachedTopSites,
    
    688
    -                tip = StrictMode.allowThreadDiskReads().resetPoliciesAfter {
    
    689
    -                    FenixTipManager(
    
    690
    -                        listOf(
    
    691
    -                            MasterPasswordTipProvider(
    
    692
    -                                requireContext(),
    
    693
    -                                ::navToSavedLogins,
    
    694
    -                                ::dismissTip
    
    695
    -                            )
    
    696
    -                        )
    
    697
    -                    ).getTip()
    
    698
    -                },
    
    699 675
                     showCollectionPlaceholder = components.settings.showCollectionsPlaceholderOnHome
    
    700 676
                 )
    
    701 677
             )