mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-23 10:34:25 +01:00
fix: Seenby fontsize
This commit is contained in:
parent
2f89913e36
commit
1fb7e03fc6
@ -43,6 +43,7 @@ class SeenByRow extends StatelessWidget {
|
||||
user.avatarUrl,
|
||||
user.calcDisplayname(),
|
||||
size: 16,
|
||||
fontSize: 9,
|
||||
),
|
||||
)
|
||||
.toList(),
|
||||
@ -56,7 +57,7 @@ class SeenByRow extends StatelessWidget {
|
||||
child: Center(
|
||||
child: Text(
|
||||
'+${seenByUsers.length - maxAvatars}',
|
||||
style: const TextStyle(fontSize: 10),
|
||||
style: const TextStyle(fontSize: 9),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -14,6 +14,7 @@ class Avatar extends StatelessWidget {
|
||||
final Function onTap;
|
||||
static const double defaultSize = 44;
|
||||
final Client client;
|
||||
final double fontSize;
|
||||
|
||||
const Avatar(
|
||||
this.mxContent,
|
||||
@ -21,6 +22,7 @@ class Avatar extends StatelessWidget {
|
||||
this.size = defaultSize,
|
||||
this.onTap,
|
||||
this.client,
|
||||
this.fontSize = 18,
|
||||
Key key,
|
||||
}) : super(key: key);
|
||||
|
||||
@ -45,7 +47,7 @@ class Avatar extends StatelessWidget {
|
||||
fallbackLetters,
|
||||
style: TextStyle(
|
||||
color: noPic ? name?.darkColor : null,
|
||||
fontSize: 18,
|
||||
fontSize: fontSize,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user