mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-03 02:29:29 +01:00
design: Minor improvements
This commit is contained in:
parent
6ab0b02c6b
commit
7f491c26cd
@ -240,11 +240,17 @@ class ChatListView extends StatelessWidget {
|
|||||||
return Container();
|
return Container();
|
||||||
}
|
}
|
||||||
return Material(
|
return Material(
|
||||||
color: Colors.orange,
|
color: Theme.of(context)
|
||||||
|
.secondaryHeaderColor,
|
||||||
child: ListTile(
|
child: ListTile(
|
||||||
leading: CircleAvatar(
|
leading: CircleAvatar(
|
||||||
backgroundColor: Colors.white,
|
backgroundColor: Theme.of(
|
||||||
foregroundColor: Colors.black,
|
context)
|
||||||
|
.scaffoldBackgroundColor,
|
||||||
|
foregroundColor:
|
||||||
|
Theme.of(context)
|
||||||
|
.colorScheme
|
||||||
|
.secondaryVariant,
|
||||||
child: Icon(Icons.cloud),
|
child: Icon(Icons.cloud),
|
||||||
),
|
),
|
||||||
trailing: IconButton(
|
trailing: IconButton(
|
||||||
|
@ -270,12 +270,7 @@ class ChatView extends StatelessWidget {
|
|||||||
(BuildContext context, int i) {
|
(BuildContext context, int i) {
|
||||||
return i == controller.filteredEvents.length + 1
|
return i == controller.filteredEvents.length + 1
|
||||||
? controller.timeline.isRequestingHistory
|
? controller.timeline.isRequestingHistory
|
||||||
? Container(
|
? LinearProgressIndicator()
|
||||||
height: 50,
|
|
||||||
alignment: Alignment.center,
|
|
||||||
padding: EdgeInsets.all(8),
|
|
||||||
child: CircularProgressIndicator(),
|
|
||||||
)
|
|
||||||
: controller.canLoadMore
|
: controller.canLoadMore
|
||||||
? Center(
|
? Center(
|
||||||
child: OutlinedButton(
|
child: OutlinedButton(
|
||||||
|
Loading…
Reference in New Issue
Block a user