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

Commit

Permalink
Rebase fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
iccub committed Aug 4, 2023
1 parent 8c3d685 commit 02d072a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions App/iOS/Delegates/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

if isFirstLaunch {
Preferences.PrivacyReports.ntpOnboardingCompleted.value = false
Preferences.Privacy.shouldShowPersistentPrivateBrowsingAlert.value = false
} else {
Preferences.Privacy.shouldShowPersistentPrivateBrowsingAlert.value = true
}

Preferences.General.isFirstLaunch.value = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ extension BrowserViewController: TabManagerDelegate {
handler: UIAction.deferredActionHandler { [weak self] _ in
guard let self = self else { return }

if PrivateBrowsingManager.shared.isPrivateBrowsing {
if privateBrowsingManager.isPrivateBrowsing {
return
}

Expand Down
4 changes: 2 additions & 2 deletions Sources/BraveWallet/Crypto/Stores/KeyringStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ extension KeyringStore: BraveWalletKeyringServiceObserver {
}

public func keyringCreated(_ keyringId: BraveWallet.KeyringId) {
if isOnboardingVisible, !isCreatingWallet, keyringId == BraveWallet.DefaultKeyringId {
if isOnboardingVisible, !isCreatingWallet, keyringId == BraveWallet.KeyringId.default {
// Another window has created a wallet. We should dismiss onboarding on this
// window and allow the other window to continue with it's onboarding flow.
isOnboardingVisible = false
Expand All @@ -476,7 +476,7 @@ extension KeyringStore: BraveWalletKeyringServiceObserver {
}

public func keyringRestored(_ keyringId: BraveWallet.KeyringId) {
if isOnboardingVisible && !isRestoringWallet, keyringId == BraveWallet.DefaultKeyringId {
if isOnboardingVisible && !isRestoringWallet, keyringId == BraveWallet.KeyringId.default {
// Another window has restored a wallet. We should dismiss onboarding on this
// window and allow the other window to continue with it's onboarding flow.
isOnboardingVisible = false
Expand Down

0 comments on commit 02d072a

Please sign in to comment.