mirror of
https://github.com/morgan9e/warehouse
synced 2026-04-14 00:04:08 +09:00
Fix Remote Page's search showing No Results when a search is made when the system only has disabled remotes
This commit is contained in:
@@ -212,6 +212,10 @@ class RemotesPage(Adw.NavigationPage):
|
||||
total += visible
|
||||
row.set_visible(visible)
|
||||
|
||||
if text == "":
|
||||
self.stack.set_visible_child(self.content_page)
|
||||
return
|
||||
|
||||
self.stack.set_visible_child(self.content_page if total > 0 else self.no_results)
|
||||
|
||||
def file_callback(self, chooser, result):
|
||||
|
||||
Reference in New Issue
Block a user