mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
2070f775d6
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
11 lines
339 B
Dart
11 lines
339 B
Dart
import 'dart:convert';
|
|
|
|
import 'package:flutter/services.dart';
|
|
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
|
|
|
final immichLogoProvider = FutureProvider.autoDispose<Uint8List>((ref) async {
|
|
final json = await rootBundle.loadString('assets/immich-logo.json');
|
|
final j = jsonDecode(json);
|
|
return base64Decode(j['content']);
|
|
});
|