diff --git a/lib/apps/assistant/page.dart b/lib/apps/assistant/page.dart index 92f1a31..a66068f 100644 --- a/lib/apps/assistant/page.dart +++ b/lib/apps/assistant/page.dart @@ -180,12 +180,17 @@ class _AssistantDetailState extends State { child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - Text('Jarvis', - style: TextStyle(fontWeight: FontWeight.bold), - ), + Container( + height: 20.0, + child: Text('Jarvis', + style: TextStyle(fontWeight: FontWeight.bold), + )), SizedBox(height: 5.0), - Text(lang.onlineActive, - style: TextStyle(color: color.onPrimary.withOpacity(0.5), fontSize: 12.0)) + Container( + height: 15.0, + child: Text(lang.onlineActive, + style: TextStyle(color: color.onPrimary.withOpacity(0.5), fontSize: 12.0)) + ) ], ), ), diff --git a/lib/apps/chat/detail.dart b/lib/apps/chat/detail.dart index 3bc90ef..093b0db 100644 --- a/lib/apps/chat/detail.dart +++ b/lib/apps/chat/detail.dart @@ -197,17 +197,22 @@ class _ChatDetailState extends State { child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - Text( - friend.name, - style: TextStyle(fontWeight: FontWeight.bold), - ), + Container( + height: 20.0, + child: Text( + friend.name, + style: TextStyle(fontWeight: FontWeight.bold), + )), SizedBox(height: 5.0), - Text(friend.isClosed - ? lang.closed - : session.onlineLang(lang), - style: TextStyle( - color: color.onPrimary.withOpacity(0.5), - fontSize: 12.0)) + Container( + height: 15.0, + child: Text(friend.isClosed + ? lang.closed + : session.onlineLang(lang), + style: TextStyle( + color: color.onPrimary.withOpacity(0.5), + fontSize: 12.0)) + ) ], ), ), diff --git a/lib/apps/group_chat/detail.dart b/lib/apps/group_chat/detail.dart index 4565355..b7e3ec6 100644 --- a/lib/apps/group_chat/detail.dart +++ b/lib/apps/group_chat/detail.dart @@ -202,17 +202,23 @@ class _GroupChatDetailState extends State { child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - Text( - this.group!.name, - style: TextStyle(fontWeight: FontWeight.bold), + Container( + height: 20.0, + child: Text( + this.group!.name, + style: TextStyle(fontWeight: FontWeight.bold), + ), ), const SizedBox(height: 5.0), - Text(this.group!.isClosed - ? lang.closed - : session.onlineLang(lang), - style: TextStyle( - color: color.onPrimary.withOpacity(0.5), - fontSize: 12.0)) + Container( + height: 15.0, + child: Text(this.group!.isClosed + ? lang.closed + : session.onlineLang(lang), + style: TextStyle( + color: color.onPrimary.withOpacity(0.5), + fontSize: 12.0)) + ) ], ), ),