mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 10:58:40 +00:00
fix #161
This commit is contained in:
parent
c95014ae7b
commit
512fd28d29
2 changed files with 28 additions and 25 deletions
|
|
@ -54,7 +54,7 @@ class _ChatListViewState extends State<ChatListView> {
|
|||
style: TextStyle(
|
||||
fontSize: 10,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: Colors.black,
|
||||
color: isDarkMode(context) ? Colors.black : Colors.white,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -59,31 +59,34 @@ class _SettingsMainViewState extends State<SettingsMainView> {
|
|||
}));
|
||||
initAsync();
|
||||
},
|
||||
child: Row(
|
||||
children: [
|
||||
ContactAvatar(
|
||||
userData: userData!,
|
||||
fontSize: 30,
|
||||
),
|
||||
Container(width: 20, color: Colors.transparent),
|
||||
Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
userData!.displayName,
|
||||
style: TextStyle(fontSize: 20),
|
||||
textAlign: TextAlign.left,
|
||||
),
|
||||
Text(
|
||||
userData!.username,
|
||||
style: TextStyle(
|
||||
fontSize: 14,
|
||||
child: Container(
|
||||
color: context.color.surface,
|
||||
child: Row(
|
||||
children: [
|
||||
ContactAvatar(
|
||||
userData: userData!,
|
||||
fontSize: 30,
|
||||
),
|
||||
Container(width: 20, color: Colors.transparent),
|
||||
Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
userData!.displayName,
|
||||
style: TextStyle(fontSize: 20),
|
||||
textAlign: TextAlign.left,
|
||||
),
|
||||
textAlign: TextAlign.left,
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
Text(
|
||||
userData!.username,
|
||||
style: TextStyle(
|
||||
fontSize: 14,
|
||||
),
|
||||
textAlign: TextAlign.left,
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in a new issue