Skip to content

Commit

Permalink
fix conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
roux g. buciu committed Dec 5, 2023
1 parent e540032 commit 71a4c97
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 37 deletions.
7 changes: 0 additions & 7 deletions Client.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -534,14 +534,11 @@
7BEB64441C7345600092C02E /* L10nSuite2SnapshotTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B3632D31C2983F000D12AF9 /* L10nSuite2SnapshotTests.swift */; };
7BEB64451C7345600092C02E /* SnapshotHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B60B0071BDE3AE10090C984 /* SnapshotHelper.swift */; };
7BEFC6801BFF68C30059C952 /* QuickActions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7BEFC67F1BFF68C30059C952 /* QuickActions.swift */; };
<<<<<<< HEAD
=======
810FF3542B178343009F062C /* FeltPrivacyMiddleware.swift in Sources */ = {isa = PBXBuildFile; fileRef = 810FF3532B178343009F062C /* FeltPrivacyMiddleware.swift */; };
810FF3562B1783B0009F062C /* FeltPrivacyManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 810FF3552B1783B0009F062C /* FeltPrivacyManager.swift */; };
810FF3582B1784E7009F062C /* FeltPrivacyAction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 810FF3572B1784E7009F062C /* FeltPrivacyAction.swift */; };
810FF35A2B178556009F062C /* FeltPrivacyState.swift in Sources */ = {isa = PBXBuildFile; fileRef = 810FF3592B178556009F062C /* FeltPrivacyState.swift */; };
81CAE4DB2B1A2C220040C78A /* BrowserViewControllerState.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81CAE4DA2B1A2C220040C78A /* BrowserViewControllerState.swift */; };
>>>>>>> 723d77f29 (Refactor FXIOS-7817 [v122] Add BrowserViewControllerState (#17565))
884CA7492344A301002E4711 /* TextContentDetector.swift in Sources */ = {isa = PBXBuildFile; fileRef = 884CA7482344A301002E4711 /* TextContentDetector.swift */; };
8A0017C128A3FF6100FEFC8B /* MessageCardDataAdaptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8A0017C028A3FF6100FEFC8B /* MessageCardDataAdaptor.swift */; };
8A01891C275E9C2A00923EFE /* ClearHistorySheetProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8A01891B275E9C2A00923EFE /* ClearHistorySheetProvider.swift */; };
Expand Down Expand Up @@ -13386,12 +13383,8 @@
DA4F826729AD221600189590 /* ZoomPageBar.swift in Sources */,
59A68E0B4ABBF55E14819668 /* BookmarksPanel.swift in Sources */,
BD4B2DE429BB4D9A005FAA50 /* TimerSnackBar.swift in Sources */,
<<<<<<< HEAD
21EA466A2B04130500AAAB2D /* TabsState.swift in Sources */,
=======
810FF3582B1784E7009F062C /* FeltPrivacyAction.swift in Sources */,
21EA466A2B04130500AAAB2D /* TabsPanelState.swift in Sources */,
>>>>>>> 723d77f29 (Refactor FXIOS-7817 [v122] Add BrowserViewControllerState (#17565))
D04D1B862097859B0074B35F /* DownloadToast.swift in Sources */,
C29B64EE2AD937D500F3244B /* QRCodeNavigationHandler.swift in Sources */,
8A19ACB42A3290D9001C2147 /* ContentBlockerSetting.swift in Sources */,
Expand Down
5 changes: 0 additions & 5 deletions Client/Frontend/Home/HomepageViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,12 @@ import MozillaAppServices
import Common
import ComponentLibrary

<<<<<<< HEAD
class HomepageViewController: UIViewController, FeatureFlaggable, Themeable, ContentContainable,
SearchBarLocationProvider {
=======
class HomepageViewController:
UIViewController,
FeatureFlaggable,
Themeable,
ContentContainable,
SearchBarLocationProvider {
>>>>>>> 723d77f29 (Refactor FXIOS-7817 [v122] Add BrowserViewControllerState (#17565))
// MARK: - Typealiases
private typealias a11y = AccessibilityIdentifiers.FirefoxHomepage
typealias SendToDeviceDelegate = InstructionsViewDelegate & DevicePickerViewControllerDelegate
Expand Down
16 changes: 1 addition & 15 deletions Client/Redux/GlobalState/ActiveScreenState.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,9 @@ import Foundation
import Redux

enum AppScreenState: Equatable {
<<<<<<< HEAD
case themeSettings(ThemeSettingsState)
case tabsTray(TabTrayState)
case tabsPanel(TabsState)
=======
case browserViewController(BrowserViewControllerState)
>>>>>>> 723d77f29 (Refactor FXIOS-7817 [v122] Add BrowserViewControllerState (#17565))
case remoteTabsPanel(RemoteTabsPanelState)
case tabsPanel(TabsPanelState)
case tabsPanel(TabsState)
case tabsTray(TabTrayState)
case themeSettings(ThemeSettingsState)

Expand Down Expand Up @@ -65,17 +59,9 @@ struct ActiveScreensState: Equatable {
case .showScreen(.tabsTray):
screens += [.tabsTray(TabTrayState())]
case .showScreen(.tabsPanel):
<<<<<<< HEAD
screens += [.tabsPanel(TabsState())]
case .showScreen(.remoteTabsPanel):
screens += [.remoteTabsPanel(RemoteTabsPanelState())]
case .showScreen(.fakespot):
screens += [.fakespot(FakespotState())]
=======
screens += [.tabsPanel(TabsPanelState())]
case .showScreen(.themeSettings):
screens += [.themeSettings(ThemeSettingsState())]
>>>>>>> 723d77f29 (Refactor FXIOS-7817 [v122] Add BrowserViewControllerState (#17565))
}
}

Expand Down
8 changes: 1 addition & 7 deletions Client/Redux/GlobalState/AppState.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,9 @@ extension AppState {

let store = Store(state: AppState(),
reducer: AppState.reducer,
<<<<<<< HEAD
middlewares: [ThemeManagerMiddleware().themeManagerProvider,
TabsPanelMiddleware().tabsPanelProvider,
RemoteTabsPanelMiddleware().remoteTabsPanelProvider])
=======
middlewares: [
FeltPrivacyMiddleware().privacyManagerProvider,
ThemeManagerMiddleware().themeManagerProvider,
TabManagerMiddleware().tabsPanelProvider,
TabsPanelMiddleware().tabsPanelProvider,
RemoteTabsPanelMiddleware().remoteTabsPanelProvider
])
>>>>>>> 723d77f29 (Refactor FXIOS-7817 [v122] Add BrowserViewControllerState (#17565))
3 changes: 0 additions & 3 deletions Client/TabManagement/TabManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,8 @@ extension TabManager {
}

func selectTab(_ tab: Tab?) {
<<<<<<< HEAD
=======
guard let privateState = tab?.isPrivate else { return }
store.dispatch(FeltPrivacyAction.setPrivateModeTo(privateState))
>>>>>>> 723d77f29 (Refactor FXIOS-7817 [v122] Add BrowserViewControllerState (#17565))
selectTab(tab, previous: nil)
}

Expand Down

0 comments on commit 71a4c97

Please sign in to comment.