mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	Get thumbnail from app (#68)
* Renamed multipart filed name 'files' to 'assetData'. * Added an additional field name of 'thumbnailData' to multipart form. * Implemented upload mechanism for thumbnail directly from the mobile client. * Removed dead code * Implemented a version checking mechanism.
This commit is contained in:
		| @@ -11,6 +11,7 @@ import 'package:immich_mobile/modules/home/ui/immich_sliver_appbar.dart'; | ||||
| import 'package:immich_mobile/modules/home/ui/monthly_title_text.dart'; | ||||
| import 'package:immich_mobile/modules/home/ui/profile_drawer.dart'; | ||||
| import 'package:immich_mobile/modules/home/providers/asset.provider.dart'; | ||||
| import 'package:immich_mobile/shared/providers/server_info.provider.dart'; | ||||
| import 'package:immich_mobile/shared/providers/websocket.provider.dart'; | ||||
| import 'package:sliver_tools/sliver_tools.dart'; | ||||
|  | ||||
| @@ -28,6 +29,7 @@ class HomePage extends HookConsumerWidget { | ||||
|     useEffect(() { | ||||
|       ref.read(websocketProvider.notifier).connect(); | ||||
|       ref.read(assetProvider.notifier).getAllAsset(); | ||||
|       ref.watch(serverInfoProvider.notifier).getServerVersion(); | ||||
|       return null; | ||||
|     }, []); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user