mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-10-24 11:23:45 +02:00
Fixed F-Droid repo search (#1400) + general search bugfixes
This commit is contained in:
@@ -213,7 +213,7 @@ class _ImportExportPageState extends State<ImportExportPage> {
|
||||
setState(() {
|
||||
importInProgress = true;
|
||||
});
|
||||
if (values['url'] != source.hosts[0]) {
|
||||
if (source.hosts.isEmpty || values['url'] != source.hosts[0]) {
|
||||
source = sourceProvider.getSource(values['url'],
|
||||
overrideSource: source.runtimeType.toString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user