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)

View File

@ -619,7 +619,7 @@ class _ChatState extends State<_Chat> {
height: seenByText.isEmpty ? 0 : 24,
duration: seenByText.isEmpty
? Duration(milliseconds: 0)
: Duration(milliseconds: 500),
: Duration(milliseconds: 300),
alignment:
filteredEvents.first.senderId ==
client.userID

View File

@ -545,7 +545,7 @@ class _ChatListState extends State<ChatList> {
children: [
AnimatedContainer(
duration: Duration(
milliseconds: 500),
milliseconds: 300),
height: displayPresences
? 78
: displayShareStatus