mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-31 13:33:28 +01:00 
			
		
		
		
	Search UI improvements
This commit is contained in:
		| @@ -283,6 +283,9 @@ class _AddAppPageState extends State<AddAppPage> { | |||||||
|           } |           } | ||||||
|           si++; |           si++; | ||||||
|         } |         } | ||||||
|  |         if (res.isEmpty) { | ||||||
|  |           throw ObtainiumError(tr('noResults')); | ||||||
|  |         } | ||||||
|         List<String>? selectedUrls = res.isEmpty |         List<String>? selectedUrls = res.isEmpty | ||||||
|             ? [] |             ? [] | ||||||
|             // ignore: use_build_context_synchronously |             // ignore: use_build_context_synchronously | ||||||
| @@ -377,7 +380,9 @@ class _AddAppPageState extends State<AddAppPage> { | |||||||
|             const SizedBox( |             const SizedBox( | ||||||
|               width: 16, |               width: 16, | ||||||
|             ), |             ), | ||||||
|             ElevatedButton( |             searching | ||||||
|  |                 ? const CircularProgressIndicator() | ||||||
|  |                 : ElevatedButton( | ||||||
|                     onPressed: searchQuery.isEmpty || doingSomething |                     onPressed: searchQuery.isEmpty || doingSomething | ||||||
|                         ? null |                         ? null | ||||||
|                         : () { |                         : () { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user