Update lib/views/chat_list.dart, pubspec.yaml, CHANGELOG.md files
This commit is contained in:
parent
0f8e44fd78
commit
9de161acc7
3 changed files with 7 additions and 5 deletions
|
|
@ -202,7 +202,7 @@ class _ChatListState extends State<ChatList> {
|
|||
backgroundColor: Colors.blue,
|
||||
label: I18n.of(context).createNewGroup,
|
||||
labelStyle:
|
||||
TextStyle(fontSize: 18.0, color: blackWhiteColor(context)),
|
||||
TextStyle(fontSize: 18.0, color: Colors.black),
|
||||
onTap: () => Navigator.of(context).pushAndRemoveUntil(
|
||||
AppRoute.defaultRoute(context, NewGroupView()),
|
||||
(r) => r.isFirst),
|
||||
|
|
@ -214,9 +214,7 @@ class _ChatListState extends State<ChatList> {
|
|||
label: I18n.of(context).newPrivateChat,
|
||||
labelStyle: TextStyle(
|
||||
fontSize: 18.0,
|
||||
color: Theme.of(context).brightness == Brightness.light
|
||||
? Colors.white
|
||||
: Colors.black),
|
||||
color: Colors.black),
|
||||
onTap: () => Navigator.of(context).pushAndRemoveUntil(
|
||||
AppRoute.defaultRoute(context, NewPrivateChatView()),
|
||||
(r) => r.isFirst),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue