morgan pushed to branch tor-browser-128.3.0esr-14.0-1 at The Tor Project / Applications / Tor Browser

Commits:

1 changed file:

Changes:

  • mobile/android/fenix/app/src/main/java/org/mozilla/fenix/search/awesomebar/AwesomeBarView.kt
    ... ... @@ -129,7 +129,7 @@ class AwesomeBarView(
    129 129
                     components.core.icons,
    
    130 130
                     engineForSpeculativeConnects,
    
    131 131
                     showEditSuggestion = false,
    
    132
    -                suggestionsHeader = activity.getString(R.string.firefox_suggest_header),
    
    132
    +//              suggestionsHeader = activity.getString(R.string.firefox_suggest_header),
    
    133 133
                 )
    
    134 134
     
    
    135 135
             defaultCombinedHistoryProvider =
    
    ... ... @@ -141,7 +141,7 @@ class AwesomeBarView(
    141 141
                     engine = engineForSpeculativeConnects,
    
    142 142
                     maxNumberOfSuggestions = METADATA_SUGGESTION_LIMIT,
    
    143 143
                     showEditSuggestion = false,
    
    144
    -                suggestionsHeader = activity.getString(R.string.firefox_suggest_header),
    
    144
    +//              suggestionsHeader = activity.getString(R.string.firefox_suggest_header),
    
    145 145
                 )
    
    146 146
     
    
    147 147
             val searchBitmap = getDrawable(activity, R.drawable.ic_search)!!.apply {
    
    ... ... @@ -346,7 +346,7 @@ class AwesomeBarView(
    346 346
                         loadUrlUseCase = loadUrlUseCase,
    
    347 347
                         includeSponsoredSuggestions = state.showSponsoredSuggestions,
    
    348 348
                         includeNonSponsoredSuggestions = state.showNonSponsoredSuggestions,
    
    349
    -                    suggestionsHeader = activity.getString(R.string.firefox_suggest_header),
    
    349
    +//                  suggestionsHeader = activity.getString(R.string.firefox_suggest_header),
    
    350 350
                         contextId = activity.settings().contileContextId,
    
    351 351
                     ),
    
    352 352
                 )
    
    ... ... @@ -379,7 +379,7 @@ class AwesomeBarView(
    379 379
                         engine = engineForSpeculativeConnects,
    
    380 380
                         maxNumberOfSuggestions = METADATA_SUGGESTION_LIMIT,
    
    381 381
                         showEditSuggestion = false,
    
    382
    -                    suggestionsHeader = activity.getString(R.string.firefox_suggest_header),
    
    382
    +//                  suggestionsHeader = activity.getString(R.string.firefox_suggest_header),
    
    383 383
                         resultsUriFilter = filter::shouldIncludeUri,
    
    384 384
                     )
    
    385 385
                 } else {
    
    ... ... @@ -394,7 +394,7 @@ class AwesomeBarView(
    394 394
                         engine = engineForSpeculativeConnects,
    
    395 395
                         maxNumberOfSuggestions = METADATA_SUGGESTION_LIMIT,
    
    396 396
                         showEditSuggestion = false,
    
    397
    -                    suggestionsHeader = activity.getString(R.string.firefox_suggest_header),
    
    397
    +//                  suggestionsHeader = activity.getString(R.string.firefox_suggest_header),
    
    398 398
                         resultsUriFilter = filter::shouldIncludeUri,
    
    399 399
                     )
    
    400 400
                 } else {
    
    ... ... @@ -498,7 +498,7 @@ class AwesomeBarView(
    498 498
                     getDrawable(activity, R.drawable.ic_search_results_device_mobile),
    
    499 499
                     getDrawable(activity, R.drawable.ic_search_results_device_tablet),
    
    500 500
                 ),
    
    501
    -            suggestionsHeader = activity.getString(R.string.firefox_suggest_header),
    
    501
    +//          suggestionsHeader = activity.getString(R.string.firefox_suggest_header),
    
    502 502
                 resultsUrlFilter = filter?.let { it::shouldIncludeUrl },
    
    503 503
             )
    
    504 504
         }
    
    ... ... @@ -521,7 +521,7 @@ class AwesomeBarView(
    521 521
                 components.core.icons,
    
    522 522
                 getDrawable(activity, R.drawable.ic_search_results_tab),
    
    523 523
                 excludeSelectedSession = !fromHomeFragment,
    
    524
    -            suggestionsHeader = activity.getString(R.string.firefox_suggest_header),
    
    524
    +//          suggestionsHeader = activity.getString(R.string.firefox_suggest_header),
    
    525 525
                 resultsUriFilter = filter?.let { it::shouldIncludeUri },
    
    526 526
             )
    
    527 527
         }
    
    ... ... @@ -544,7 +544,7 @@ class AwesomeBarView(
    544 544
                 indicatorIcon = getDrawable(activity, R.drawable.ic_search_results_bookmarks),
    
    545 545
                 engine = engineForSpeculativeConnects,
    
    546 546
                 showEditSuggestion = false,
    
    547
    -            suggestionsHeader = activity.getString(R.string.firefox_suggest_header),
    
    547
    +//          suggestionsHeader = activity.getString(R.string.firefox_suggest_header),
    
    548 548
                 resultsUriFilter = filter?.let { it::shouldIncludeUri },
    
    549 549
             )
    
    550 550
         }