mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-11-03 23:03:29 +01:00 
			
		
		
		
	Fixed search error on Add App page (#202)
This commit is contained in:
		@@ -127,9 +127,7 @@ class _AddAppPageState extends State<AddAppPage> {
 | 
			
		||||
          if (app.additionalSettings['trackOnly'] == true) {
 | 
			
		||||
            app.installedVersion = app.latestVersion;
 | 
			
		||||
          }
 | 
			
		||||
          if (pickedCategories != null) {
 | 
			
		||||
            app.categories = pickedCategories;
 | 
			
		||||
          }
 | 
			
		||||
          app.categories = pickedCategories;
 | 
			
		||||
          await appsProvider.saveApps([app]);
 | 
			
		||||
 | 
			
		||||
          return app;
 | 
			
		||||
@@ -290,7 +288,7 @@ class _AddAppPageState extends State<AddAppPage> {
 | 
			
		||||
                                          if (selectedUrls != null &&
 | 
			
		||||
                                              selectedUrls.isNotEmpty) {
 | 
			
		||||
                                            changeUserInput(
 | 
			
		||||
                                                selectedUrls[0], true, true);
 | 
			
		||||
                                                selectedUrls[0], true, false);
 | 
			
		||||
                                            addApp(resetUserInputAfter: true);
 | 
			
		||||
                                          }
 | 
			
		||||
                                        }).catchError((e) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user