mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-28 12:03:45 +01:00 
			
		
		
		
	Fixed bug for FDroid repos with uppercase in AppID
This commit is contained in:
		| @@ -21,7 +21,7 @@ import 'package:easy_localization/src/easy_localization_controller.dart'; | |||||||
| // ignore: implementation_imports | // ignore: implementation_imports | ||||||
| import 'package:easy_localization/src/localization.dart'; | import 'package:easy_localization/src/localization.dart'; | ||||||
|  |  | ||||||
| const String currentVersion = '0.8.14'; | const String currentVersion = '0.8.15'; | ||||||
| const String currentReleaseTag = | const String currentReleaseTag = | ||||||
|     'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES |     'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES | ||||||
|  |  | ||||||
|   | |||||||
| @@ -109,11 +109,11 @@ class App { | |||||||
|  |  | ||||||
| // Ensure the input is starts with HTTPS and has no WWW | // Ensure the input is starts with HTTPS and has no WWW | ||||||
| preStandardizeUrl(String url) { | preStandardizeUrl(String url) { | ||||||
|   url = url.toLowerCase(); |   if (url.toLowerCase().indexOf('http://') != 0 && | ||||||
|   if (url.indexOf('http://') != 0 && url.indexOf('https://') != 0) { |       url.toLowerCase().indexOf('https://') != 0) { | ||||||
|     url = 'https://$url'; |     url = 'https://$url'; | ||||||
|   } |   } | ||||||
|   if (url.indexOf('https://www.') == 0) { |   if (url.toLowerCase().indexOf('https://www.') == 0) { | ||||||
|     url = 'https://${url.substring(12)}'; |     url = 'https://${url.substring(12)}'; | ||||||
|   } |   } | ||||||
|   url = url |   url = url | ||||||
|   | |||||||
| @@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev | |||||||
| # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html | ||||||
| # In Windows, build-name is used as the major, minor, and patch parts | # In Windows, build-name is used as the major, minor, and patch parts | ||||||
| # of the product and file versions while build-number is used as the build suffix. | # of the product and file versions while build-number is used as the build suffix. | ||||||
| version: 0.8.14+78 # When changing this, update the tag in main() accordingly | version: 0.8.15+79 # When changing this, update the tag in main() accordingly | ||||||
|  |  | ||||||
| environment: | environment: | ||||||
|   sdk: '>=2.18.2 <3.0.0' |   sdk: '>=2.18.2 <3.0.0' | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user