mozilla-mobile / focus-android

⚠️ Firefox Focus (Android) moved to a new repository. It is now developed and maintained as part of: https://github.com/mozilla-mobile/firefox-android

Home Page:https://github.com/mozilla-mobile/firefox-android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When custom autocomplete URL added, it can save duplicates

nojunpark opened this issue · comments

Steps to reproduce

  • long tap the URL bar, and select 'add custom URL'
  • long tap the URL bar again, and re-select 'add custom URL'
  • Open Focus, and go to Custom URL list in settings

Expected behavior

  • There is only one custom URL entry

Actual behavior

  • It lists duplicate URL entries

Device information

Pixel 2, API 27

Is this only in a custom tab? Or anytime you add a custom URL from the URL bar?

@ekager just checked, it's anytime when custom URL is added.

Okay, thanks! Updated the description and filed a PR that should fix it