Add warning popup toggles + fix breaking bug in add app

This commit is contained in:
Imran Remtulla
2023-04-30 00:58:32 -04:00
parent 04b3c8ad7d
commit dd19fcf6da
14 changed files with 132 additions and 28 deletions

View File

@@ -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;
}