design: Minor improvements

This commit is contained in:
Christian Pauly 2021-06-20 14:08:34 +02:00
parent 6ab0b02c6b
commit 7f491c26cd
2 changed files with 10 additions and 9 deletions

View File

@ -240,11 +240,17 @@ class ChatListView extends StatelessWidget {
return Container();
}
return Material(
color: Colors.orange,
color: Theme.of(context)
.secondaryHeaderColor,
child: ListTile(
leading: CircleAvatar(
backgroundColor: Colors.white,
foregroundColor: Colors.black,
backgroundColor: Theme.of(
context)
.scaffoldBackgroundColor,
foregroundColor:
Theme.of(context)
.colorScheme
.secondaryVariant,
child: Icon(Icons.cloud),
),
trailing: IconButton(

View File

@ -270,12 +270,7 @@ class ChatView extends StatelessWidget {
(BuildContext context, int i) {
return i == controller.filteredEvents.length + 1
? controller.timeline.isRequestingHistory
? Container(
height: 50,
alignment: Alignment.center,
padding: EdgeInsets.all(8),
child: CircularProgressIndicator(),
)
? LinearProgressIndicator()
: controller.canLoadMore
? Center(
child: OutlinedButton(