mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-03 02:29:29 +01:00
design: Make load more button an elevated button
This commit is contained in:
parent
8dea650300
commit
6ab0b02c6b
@ -277,18 +277,12 @@ class ChatView extends StatelessWidget {
|
|||||||
child: CircularProgressIndicator(),
|
child: CircularProgressIndicator(),
|
||||||
)
|
)
|
||||||
: controller.canLoadMore
|
: controller.canLoadMore
|
||||||
? TextButton(
|
? Center(
|
||||||
|
child: OutlinedButton(
|
||||||
onPressed:
|
onPressed:
|
||||||
controller.requestHistory,
|
controller.requestHistory,
|
||||||
child: Text(
|
child: Text(
|
||||||
L10n.of(context).loadMore,
|
L10n.of(context).loadMore),
|
||||||
style: TextStyle(
|
|
||||||
color: Theme.of(context)
|
|
||||||
.primaryColor,
|
|
||||||
fontWeight: FontWeight.bold,
|
|
||||||
decoration: TextDecoration
|
|
||||||
.underline,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
: Container()
|
: Container()
|
||||||
|
Loading…
Reference in New Issue
Block a user