mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-29 01:09:30 +02:00
Add warning popup toggles + fix breaking bug in add app
This commit is contained in:
@@ -470,7 +470,7 @@ class SourceProvider {
|
||||
}
|
||||
AppSource? source;
|
||||
for (var s in sources.where((element) => element.host != null)) {
|
||||
if (RegExp('://${s.host}').hasMatch(url)) {
|
||||
if (RegExp('://${s.host}(/|\\z)?').hasMatch(url)) {
|
||||
source = s;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user