Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fix #8095: Favorites are shown in Private Tab mode when switching the…
Browse files Browse the repository at this point in the history
… apps (#8119)
  • Loading branch information
soner-yuksel authored Sep 21, 2023
1 parent 6a9b03c commit 9799d6a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/Brave/Frontend/Browser/BrowserViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,8 @@ public class BrowserViewController: UIViewController {
webViewContainerBackdrop.alpha = 1
webViewContainer.alpha = 0
activeNewTabPageViewController?.view.alpha = 0
favoritesController?.view.alpha = 0
searchController?.view.alpha = 0
header.contentView.alpha = 0
presentedViewController?.popoverPresentationController?.containerView?.alpha = 0
presentedViewController?.view.alpha = 0
Expand Down Expand Up @@ -751,6 +753,8 @@ public class BrowserViewController: UIViewController {
self.webViewContainer.alpha = 1
self.header.contentView.alpha = 1
self.activeNewTabPageViewController?.view.alpha = 1
self.favoritesController?.view.alpha = 1
self.searchController?.view.alpha = 1
self.presentedViewController?.popoverPresentationController?.containerView?.alpha = 1
self.presentedViewController?.view.alpha = 1
self.view.backgroundColor = .clear
Expand Down

0 comments on commit 9799d6a

Please sign in to comment.