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.avatarUrl,
|
||||||
user.calcDisplayname(),
|
user.calcDisplayname(),
|
||||||
size: 16,
|
size: 16,
|
||||||
|
fontSize: 9,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
.toList(),
|
.toList(),
|
||||||
@ -56,7 +57,7 @@ class SeenByRow extends StatelessWidget {
|
|||||||
child: Center(
|
child: Center(
|
||||||
child: Text(
|
child: Text(
|
||||||
'+${seenByUsers.length - maxAvatars}',
|
'+${seenByUsers.length - maxAvatars}',
|
||||||
style: const TextStyle(fontSize: 10),
|
style: const TextStyle(fontSize: 9),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -14,6 +14,7 @@ class Avatar extends StatelessWidget {
|
|||||||
final Function onTap;
|
final Function onTap;
|
||||||
static const double defaultSize = 44;
|
static const double defaultSize = 44;
|
||||||
final Client client;
|
final Client client;
|
||||||
|
final double fontSize;
|
||||||
|
|
||||||
const Avatar(
|
const Avatar(
|
||||||
this.mxContent,
|
this.mxContent,
|
||||||
@ -21,6 +22,7 @@ class Avatar extends StatelessWidget {
|
|||||||
this.size = defaultSize,
|
this.size = defaultSize,
|
||||||
this.onTap,
|
this.onTap,
|
||||||
this.client,
|
this.client,
|
||||||
|
this.fontSize = 18,
|
||||||
Key key,
|
Key key,
|
||||||
}) : super(key: key);
|
}) : super(key: key);
|
||||||
|
|
||||||
@ -45,7 +47,7 @@ class Avatar extends StatelessWidget {
|
|||||||
fallbackLetters,
|
fallbackLetters,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: noPic ? name?.darkColor : null,
|
color: noPic ? name?.darkColor : null,
|
||||||
fontSize: 18,
|
fontSize: fontSize,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user