fix: Minor design bugs

This commit is contained in:
Christian Pauly
2020-10-04 10:05:00 +02:00
parent f84ac1d121
commit 6ffbf16cff
5 changed files with 6 additions and 9 deletions

View File

@ -36,7 +36,7 @@ class _ConnectionStatusHeaderState extends State<ConnectionStatusHeader> {
);
return AnimatedContainer(
duration: Duration(milliseconds: 500),
duration: Duration(milliseconds: 300),
height: _connected ? 0 : 5,
child: LinearProgressIndicator(),
);

View File

@ -143,8 +143,7 @@ class ChatListItem extends StatelessWidget {
? Padding(
padding: const EdgeInsets.only(left: 4.0),
child: Icon(
Icons.favorite,
color: Colors.grey[400],
Icons.favorite_outline_rounded,
size: 16,
),
)
@ -153,8 +152,7 @@ class ChatListItem extends StatelessWidget {
? Padding(
padding: const EdgeInsets.only(left: 4.0),
child: Icon(
Icons.notifications_off,
color: Colors.grey[400],
Icons.notifications_off_outlined,
size: 16,
),
)
@ -164,7 +162,6 @@ class ChatListItem extends StatelessWidget {
child: Text(
room.timeCreated.localizedTimeShort(context),
style: TextStyle(
color: Color(0xFF555555),
fontSize: 13,
),
),

View File

@ -114,7 +114,7 @@ final ThemeData amoledTheme = ThemeData.dark().copyWith(
Color chatListItemColor(BuildContext context, bool activeChat, bool selected) =>
selected
? Theme.of(context).primaryColor.withAlpha(50)
? Theme.of(context).primaryColor.withAlpha(100)
: Theme.of(context).brightness == Brightness.light
? activeChat
? Color(0xFFE8E8E8)