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

Commit

Permalink
Fix #8286: Update "Edit bookmark" to "Edit favorite" when long pressi…
Browse files Browse the repository at this point in the history
…ng a favorite (#8303)
  • Loading branch information
bo1ta authored Oct 23, 2023
1 parent 4b787db commit b966744
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Sources/Brave/Frontend/Browser/BrowserViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3063,7 +3063,7 @@ extension BrowserViewController: NewTabPageDelegate {
let editPopup =
UIAlertController
.userTextInputAlert(
title: Strings.editBookmark,
title: Strings.editFavorite,
message: urlString,
startingText: title, startingText2: favorite.url,
placeholder2: urlString,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ extension FavoritesViewController: UICollectionViewDelegateFlowLayout {
self.action(bookmark, .opened(inNewTab: true, switchingToPrivateMode: false))
})
let edit = UIAction(
title: Strings.editBookmark,
title: Strings.editFavorite,
handler: UIAction.deferredActionHandler { _ in
self.action(bookmark, .edited)
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class FavoritesSectionProvider: NSObject, NTPObservableSectionProvider {
self.action(favourite, .opened(inNewTab: true, switchingToPrivateMode: false))
})
let edit = UIAction(
title: Strings.editBookmark,
title: Strings.editFavorite,
handler: UIAction.deferredActionHandler { _ in
self.action(favourite, .edited)
})
Expand Down

0 comments on commit b966744

Please sign in to comment.