This commit is contained in:
otsmr 2025-05-11 12:14:36 +02:00
parent c95014ae7b
commit 512fd28d29
2 changed files with 28 additions and 25 deletions

View file

@ -54,7 +54,7 @@ class _ChatListViewState extends State<ChatListView> {
style: TextStyle( style: TextStyle(
fontSize: 10, fontSize: 10,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
color: Colors.black, color: isDarkMode(context) ? Colors.black : Colors.white,
), ),
), ),
), ),

View file

@ -59,31 +59,34 @@ class _SettingsMainViewState extends State<SettingsMainView> {
})); }));
initAsync(); initAsync();
}, },
child: Row( child: Container(
children: [ color: context.color.surface,
ContactAvatar( child: Row(
userData: userData!, children: [
fontSize: 30, ContactAvatar(
), userData: userData!,
Container(width: 20, color: Colors.transparent), fontSize: 30,
Column( ),
crossAxisAlignment: CrossAxisAlignment.start, Container(width: 20, color: Colors.transparent),
children: [ Column(
Text( crossAxisAlignment: CrossAxisAlignment.start,
userData!.displayName, children: [
style: TextStyle(fontSize: 20), Text(
textAlign: TextAlign.left, userData!.displayName,
), style: TextStyle(fontSize: 20),
Text( textAlign: TextAlign.left,
userData!.username,
style: TextStyle(
fontSize: 14,
), ),
textAlign: TextAlign.left, Text(
), userData!.username,
], style: TextStyle(
), fontSize: 14,
], ),
textAlign: TextAlign.left,
),
],
),
],
),
), ),
), ),
), ),