Skip to content

Commit

Permalink
Merge fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MattLichtenstein committed Dec 20, 2024
1 parent f4e62f9 commit 847b6a7
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ class BrowserCoordinator: BaseCoordinator,
WindowEventCoordinator,
MainMenuCoordinatorDelegate,
ETPCoordinatorSSLStatusDelegate,
SearchEngineSelectionCoordinatorDelegate {
SearchEngineSelectionCoordinatorDelegate,
BookmarksRefactorFeatureFlagProvider {
private struct UX {
static let searchEnginePopoverSize = CGSize(width: 250, height: 536)
}
Expand Down Expand Up @@ -188,7 +189,8 @@ class BrowserCoordinator: BaseCoordinator,
profile: profile,
windowUUID: windowUUID,
libraryCoordinator: self,
libraryNavigationHandler: nil
libraryNavigationHandler: nil,
isBookmarkRefactorEnabled: isBookmarkRefactorEnabled
)
add(child: bookmarksCoordinator)
bookmarksCoordinator.start(parentFolder: parentFolder, bookmark: bookmark)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,14 @@ class BookmarksCoordinator: BaseCoordinator,
router: Router,
profile: Profile,
windowUUID: WindowUUID,
parentCoordinator: LibraryCoordinatorDelegate?,
navigationHandler: LibraryNavigationHandler?,
libraryCoordinator: LibraryCoordinatorDelegate?,
libraryNavigationHandler: LibraryNavigationHandler?,
isBookmarkRefactorEnabled: Bool
) {
self.profile = profile
self.windowUUID = windowUUID
self.libraryCoordinator = libraryCoordinator
self.libraryNavigationHandler = libraryNavigationHandler
self.parentCoordinator = parentCoordinator
self.navigationHandler = navigationHandler
self.isBookmarkRefactorEnabled = isBookmarkRefactorEnabled
super.init(router: router)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ class LibraryCoordinator: BaseCoordinator,
router: router,
profile: profile,
windowUUID: windowUUID,
parentCoordinator: parentCoordinator,
navigationHandler: self,
libraryCoordinator: parentCoordinator,
libraryNavigationHandler: self,
isBookmarkRefactorEnabled: isBookmarkRefactorEnabled
)
add(child: bookmarksCoordinator)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ protocol ToolBarActionMenuDelegate: AnyObject {
func showSignInView(fxaParameters: FxASignInViewParameters)
func showFilePicker(fileURL: URL)
func showEditBookmark()
func showEditBookmark()
}

extension ToolBarActionMenuDelegate {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,16 +128,17 @@ class EditBookmarkViewModel: ParentFolderSelector {
}
}

func didFinish() {
bookmarkCoordinatorDelegate?.didFinish()
}

// MARK: ParentFolderSelector

func selectFolderCreatedFromChild(folder: Folder) {
isFolderCollapsed = true
selectedFolder = folder
folderStructures = [folder]
onFolderStatusUpdate?()

func didFinish() {
bookmarkCoordinatorDelegate?.didFinish()
}
}

Expand Down

0 comments on commit 847b6a7

Please sign in to comment.