mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-31 13:33:28 +01:00 
			
		
		
		
	Added error reporting on forgeround update check
This commit is contained in:
		| @@ -148,7 +148,11 @@ class _AppsPageState extends State<AppsPage> { | |||||||
|         body: RefreshIndicator( |         body: RefreshIndicator( | ||||||
|             onRefresh: () { |             onRefresh: () { | ||||||
|               HapticFeedback.lightImpact(); |               HapticFeedback.lightImpact(); | ||||||
|               return appsProvider.checkUpdates(); |               return appsProvider.checkUpdates().catchError((e) { | ||||||
|  |                 ScaffoldMessenger.of(context).showSnackBar( | ||||||
|  |                   SnackBar(content: Text(e.toString())), | ||||||
|  |                 ); | ||||||
|  |               }); | ||||||
|             }, |             }, | ||||||
|             child: CustomScrollView(slivers: <Widget>[ |             child: CustomScrollView(slivers: <Widget>[ | ||||||
|               const CustomAppBar(title: 'Apps'), |               const CustomAppBar(title: 'Apps'), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user