1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00:00

fix(mobile): invite user list (#9624)

* fix(mobile): invite user list

* make it dense as before
This commit is contained in:
waclaw66 2024-05-21 10:27:17 +02:00 committed by GitHub
parent d6757fc2dd
commit 9222b9d130
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,10 +55,9 @@ class AlbumAdditionalSharedUserSelectionPage extends HookConsumerWidget {
child: Chip( child: Chip(
backgroundColor: context.primaryColor.withOpacity(0.15), backgroundColor: context.primaryColor.withOpacity(0.15),
label: Text( label: Text(
user.email, user.name,
style: const TextStyle( style: const TextStyle(
fontSize: 12, fontSize: 12,
color: Colors.black87,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), ),
), ),
@ -88,13 +87,20 @@ class AlbumAdditionalSharedUserSelectionPage extends HookConsumerWidget {
itemBuilder: ((context, index) { itemBuilder: ((context, index) {
return ListTile( return ListTile(
leading: buildTileIcon(users[index]), leading: buildTileIcon(users[index]),
dense: true,
title: Text( title: Text(
users[index].email, users[index].name,
style: const TextStyle( style: const TextStyle(
fontSize: 14, fontSize: 14,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), ),
), ),
subtitle: Text(
users[index].email,
style: const TextStyle(
fontSize: 12,
),
),
onTap: () { onTap: () {
if (sharedUsersList.value.contains(users[index])) { if (sharedUsersList.value.contains(users[index])) {
sharedUsersList.value = sharedUsersList.value sharedUsersList.value = sharedUsersList.value