feat(mobile): Add support for Basic Authentication (#6840)

This commit is contained in:
rovo89
2024-02-04 21:35:13 +01:00
committed by GitHub
parent b4c211cad1
commit 5061c35c8d
14 changed files with 33 additions and 33 deletions

View File

@@ -51,7 +51,7 @@ class UserCircleAvatar extends ConsumerWidget {
placeholder: (_, __) => Image.memory(kTransparentImage),
imageUrl: profileImageUrl,
httpHeaders: {
"Authorization": "Bearer ${Store.get(StoreKey.accessToken)}",
"x-immich-user-token": Store.get(StoreKey.accessToken),
},
fadeInDuration: const Duration(milliseconds: 300),
errorWidget: (context, error, stackTrace) => textIcon,