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

Fix #8286: Update "Edit bookmark" to "Edit favorite" when long pressing a favorite #8303

Merged
merged 3 commits into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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