Skip to content

Commit

Permalink
Add custom title for imported bookmark
Browse files Browse the repository at this point in the history
fix brave#5060

Auditors: @bsclifton

Test Plan:
1. Bookmark a page from other browser
2. Rename the bookmark in step 1
3. Import bookmakrs from the browser in step 1
4. Click the bookmark and it shouldn't be renamed
  • Loading branch information
darkdh committed Oct 29, 2016
1 parent 6a871e4 commit 0cf4750
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/importer.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ importer.on('add-bookmarks', (e, bookmarks, topLevelFolder) => {
} else {
const site = {
title: bookmarks[i].title,
customTitle: bookmarks[i].title,
location: bookmarks[i].url,
parentFolderId: parentFolderId,
lastAccessedTime: bookmarks[i].creation_time * 1000,
Expand Down

1 comment on commit 0cf4750

@bsclifton
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++

Please sign in to comment.