mirror of
https://github.com/immich-app/immich.git
synced 2025-01-20 16:42:43 +02:00
12a6a7d95a
* uses profile photo for user avatar drawer * Added some styling to the profile picture * made the whole profile photo a gesture detector * fixed image updating * invalidates cachednetworkimage when new profile photo is uploaded * Revert "invalidates cachednetworkimage when new profile photo is uploaded" This reverts commit 17c83be5561fba4b1b20199b0a8113b0f5f90817. * Add fadeInImage to loading user profile --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
69 lines
605 B
Dart
69 lines
605 B
Dart
import 'dart:typed_data';
|
|
|
|
final Uint8List kTransparentImage = Uint8List.fromList(<int>[
|
|
0x89,
|
|
0x50,
|
|
0x4E,
|
|
0x47,
|
|
0x0D,
|
|
0x0A,
|
|
0x1A,
|
|
0x0A,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x0D,
|
|
0x49,
|
|
0x48,
|
|
0x44,
|
|
0x52,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x01,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x01,
|
|
0x08,
|
|
0x06,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x1F,
|
|
0x15,
|
|
0xC4,
|
|
0x89,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x0A,
|
|
0x49,
|
|
0x44,
|
|
0x41,
|
|
0x54,
|
|
0x78,
|
|
0x9C,
|
|
0x63,
|
|
0x00,
|
|
0x01,
|
|
0x00,
|
|
0x00,
|
|
0x05,
|
|
0x00,
|
|
0x01,
|
|
0x0D,
|
|
0x0A,
|
|
0x2D,
|
|
0xB4,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x49,
|
|
0x45,
|
|
0x4E,
|
|
0x44,
|
|
0xAE,
|
|
]);
|