mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:17:11 -05:00 
			
		
		
		
	* chore(deps): update dependency @types/node to v20.11.27 * fixes * fixes --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Dietzler <mail@ddietzler.dev> Co-authored-by: Marty Fuhry <martyfuhry@gmail.com>
		
			
				
	
	
		
			14 lines
		
	
	
		
			371 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			371 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
import 'dart:convert';
 | 
						|
 | 
						|
import 'package:flutter/services.dart';
 | 
						|
import 'package:riverpod_annotation/riverpod_annotation.dart';
 | 
						|
 | 
						|
part 'immich_logo_provider.g.dart';
 | 
						|
 | 
						|
@riverpod
 | 
						|
Future<Uint8List> immichLogo(ImmichLogoRef ref) async {
 | 
						|
  final json = await rootBundle.loadString('assets/immich-logo.json');
 | 
						|
  final j = jsonDecode(json);
 | 
						|
  return base64Decode(j['content']);
 | 
						|
}
 |