mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-30 12:30:16 +02:00
Added autocomplete for F-Droid repos (#1681)
This commit is contained in:
@@ -312,7 +312,10 @@ class AddAppPageState extends State<AddAppPage> {
|
||||
a.app.overrideSource)
|
||||
.runtimeType ==
|
||||
e.runtimeType)
|
||||
.map((a) => Uri.parse(a.app.url).host)
|
||||
.map((a) {
|
||||
var uri = Uri.parse(a.app.url);
|
||||
return '${uri.origin}${uri.path}';
|
||||
})
|
||||
],
|
||||
defaultValue:
|
||||
e.hosts.isNotEmpty ? e.hosts[0] : '',
|
||||
|
Reference in New Issue
Block a user