design: Make load more button an elevated button

onboarding
Christian Pauly 4 years ago
parent 8724e41545
commit 40ccfd75e8

@ -277,18 +277,12 @@ class ChatView extends StatelessWidget {
child: CircularProgressIndicator(),
)
: controller.canLoadMore
? TextButton(
? Center(
child: OutlinedButton(
onPressed:
controller.requestHistory,
child: Text(
L10n.of(context).loadMore,
style: TextStyle(
color: Theme.of(context)
.primaryColor,
fontWeight: FontWeight.bold,
decoration: TextDecoration
.underline,
),
L10n.of(context).loadMore),
),
)
: Container()

Loading…
Cancel
Save