-
Notifications
You must be signed in to change notification settings - Fork 919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Unable to delete autocomplete history items #5168
Bug: Unable to delete autocomplete history items #5168
Conversation
@@ -45,10 +44,6 @@ abstract class TabsDao { | |||
@Query("select * from tabs where deletable is 0 order by position") | |||
abstract fun flowTabs(): Flow<List<TabEntity>> | |||
|
|||
// TODO: ANA to remove this | |||
@Query("select * from tabs where deletable is 0 order by position") | |||
abstract fun singleTabs(): Single<List<TabEntity>> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed also some unused code.
@@ -82,8 +81,6 @@ class TabDataRepository @Inject constructor( | |||
|
|||
private var purgeDeletableTabsJob = ConflatedJob() | |||
|
|||
override fun getTabsObservable(): Single<List<TabEntity>> = tabsDao.singleTabs() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same, removed unused code.
|
||
// TODO: ANA to remove this | ||
implementation "io.reactivex.rxjava2:rxjava:_" | ||
implementation "io.reactivex.rxjava2:rxandroid:_" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed unneeded dependencies.
@@ -44,8 +43,6 @@ interface TabRepository { | |||
|
|||
val tabSwitcherData: Flow<TabSwitcherData> | |||
|
|||
fun getTabsObservable(): Single<List<TabEntity>> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused.
@@ -3696,7 +3696,7 @@ class BrowserTabViewModel @Inject constructor( | |||
} | |||
} | |||
|
|||
fun autoCompleteSuggestionsShown() { | |||
fun onAutoCompleteSuggestionsChanged() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renamed this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Tested, works as expected now 🙂
77a9ff2
to
688b218
Compare
1983187
to
c5043f4
Compare
698fd63
into
fix/ana/bug_autocomplete_pixels_firing_when_adding_bookmark
Task/Issue URL: https://app.asana.com/0/488551667048375/1208592488628219/f
Description
Fixed item deletion from suggestions.
Steps to test this PR
Test in Browser:
Verify:
Test using the widget
Verify:
NO UI changes