mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-31 05:23:28 +01:00 
			
		
		
		
	Fixed custom App name issue
This commit is contained in:
		| @@ -14,7 +14,7 @@ import 'package:dynamic_color/dynamic_color.dart'; | |||||||
| import 'package:device_info_plus/device_info_plus.dart'; | import 'package:device_info_plus/device_info_plus.dart'; | ||||||
|  |  | ||||||
| const String currentReleaseTag = | const String currentReleaseTag = | ||||||
|     'v0.5.6-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES |     'v0.5.7-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES | ||||||
|  |  | ||||||
| const String bgUpdateCheckTaskName = 'bg-update-check'; | const String bgUpdateCheckTaskName = 'bg-update-check'; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -313,7 +313,8 @@ class AppsProvider with ChangeNotifier { | |||||||
|     App newApp = await sourceProvider.getApp( |     App newApp = await sourceProvider.getApp( | ||||||
|         sourceProvider.getSource(currentApp.url), |         sourceProvider.getSource(currentApp.url), | ||||||
|         currentApp.url, |         currentApp.url, | ||||||
|         currentApp.additionalData); |         currentApp.additionalData, | ||||||
|  |         customName: currentApp.name); | ||||||
|     newApp.installedVersion = currentApp.installedVersion; |     newApp.installedVersion = currentApp.installedVersion; | ||||||
|     if (currentApp.preferredApkIndex < newApp.apkUrls.length) { |     if (currentApp.preferredApkIndex < newApp.apkUrls.length) { | ||||||
|       newApp.preferredApkIndex = currentApp.preferredApkIndex; |       newApp.preferredApkIndex = currentApp.preferredApkIndex; | ||||||
|   | |||||||
| @@ -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.5.6+27 # When changing this, update the tag in main() accordingly | version: 0.5.7+28 # When changing this, update the tag in main() accordingly | ||||||
|  |  | ||||||
| environment: | environment: | ||||||
|   sdk: '>=2.19.0-79.0.dev <3.0.0' |   sdk: '>=2.19.0-79.0.dev <3.0.0' | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user