refactor: Calc avatar font size by avatar size

This commit is contained in:
krille-chan 2024-05-30 15:24:11 +02:00
commit bd5dc8405d
No known key found for this signature in database
9 changed files with 1 additions and 12 deletions

View file

@ -163,7 +163,6 @@ class ChatListView extends StatelessWidget {
MatrixLocals(L10n.of(context)!),
),
size: 32,
fontSize: 12,
),
);
},

View file

@ -126,7 +126,6 @@ class ClientChooserButton extends StatelessWidget {
name:
snapshot.data?.displayName ?? client.userID!.localpart,
size: 32,
fontSize: 12,
),
const SizedBox(width: 12),
Expanded(
@ -216,7 +215,6 @@ class ClientChooserButton extends StatelessWidget {
name: snapshot.data?.displayName ??
matrix.client.userID!.localpart,
size: 32,
fontSize: 12,
),
),
),

View file

@ -461,7 +461,6 @@ class _SpaceViewState extends State<SpaceView> {
size: 24,
mxContent: spaceChild.avatarUrl,
name: spaceChild.name,
fontSize: 9,
),
),
color: Theme.of(context)