mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-09 19:10:42 +00:00
parent
ef5846dc3e
commit
f520586dcd
@ -35,9 +35,4 @@ object FeatureFlags {
|
|||||||
* Enables ETP cookie purging
|
* Enables ETP cookie purging
|
||||||
*/
|
*/
|
||||||
val etpCookiePurging = Config.channel.isNightlyOrDebug
|
val etpCookiePurging = Config.channel.isNightlyOrDebug
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns user to browser on cold start if they have open tabs
|
|
||||||
*/
|
|
||||||
val returnToBrowserOnColdStart = Config.channel.isNightlyOrDebug
|
|
||||||
}
|
}
|
||||||
|
@ -770,8 +770,7 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity {
|
|||||||
open fun navigateToBrowserOnColdStart() {
|
open fun navigateToBrowserOnColdStart() {
|
||||||
// Normal tabs + cold start -> Should go back to browser if we had any tabs open when we left last
|
// Normal tabs + cold start -> Should go back to browser if we had any tabs open when we left last
|
||||||
// except for PBM + Cold Start there won't be any tabs since they're evicted so we never will navigate
|
// except for PBM + Cold Start there won't be any tabs since they're evicted so we never will navigate
|
||||||
if (FeatureFlags.returnToBrowserOnColdStart &&
|
if (settings().shouldReturnToBrowser &&
|
||||||
settings().shouldReturnToBrowser &&
|
|
||||||
!browsingModeManager.mode.isPrivate
|
!browsingModeManager.mode.isPrivate
|
||||||
) {
|
) {
|
||||||
openToBrowser(BrowserDirection.FromGlobal, null)
|
openToBrowser(BrowserDirection.FromGlobal, null)
|
||||||
|
Loading…
Reference in New Issue
Block a user