Skip to content

Commit

Permalink
Fix brave/brave-ios#8286: Update "Edit bookmark" to "Edit favorite" w…
Browse files Browse the repository at this point in the history
…hen long pressing a favorite (brave/brave-ios#8303)
  • Loading branch information
bo1ta authored Oct 23, 2023
1 parent 46d8bf6 commit 4b98de9
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 4b98de9

Please sign in to comment.