fix(recent-url): remove error log message
This commit is contained in:
@@ -78,7 +78,6 @@ public class DomainManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setCurrentDomain(String domain) {
|
public void setCurrentDomain(String domain) {
|
||||||
Log.e(TAG, "setCurrentDomain: " + domain );
|
|
||||||
this.currentDomain = domain;
|
this.currentDomain = domain;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -253,7 +253,7 @@ public class SearchFragment extends BaseStatusListFragment<SearchResult>{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setQuery(String q){
|
public void setQuery(String q){
|
||||||
if(Objects.equals(q, currentQuery))
|
if(Objects.equals(q, currentQuery) || q.isBlank())
|
||||||
return;
|
return;
|
||||||
if(currentRequest!=null){
|
if(currentRequest!=null){
|
||||||
currentRequest.cancel();
|
currentRequest.cancel();
|
||||||
|
|||||||
Reference in New Issue
Block a user