fix: Minor fixes

This commit is contained in:
Krille Fear 2021-11-21 09:07:33 +01:00
commit a143b978a3
3 changed files with 16 additions and 14 deletions

View file

@ -188,19 +188,18 @@ class ChatListView extends StatelessWidget {
clipBehavior: Clip.hardEdge,
curve: Curves.bounceInOut,
decoration: const BoxDecoration(),
child: MaterialBanner(
leading: Image.asset(
'assets/backup.png',
fit: BoxFit.contain,
width: 44,
),
content: Text(L10n.of(context).setupChatBackupNow),
actions: [
TextButton(
onPressed: controller.firstRunBootstrapAction,
child: Text(L10n.of(context).start),
child: Material(
color: Theme.of(context).colorScheme.surface,
child: ListTile(
leading: Image.asset(
'assets/backup.png',
fit: BoxFit.contain,
width: 44,
),
],
title: Text(L10n.of(context).setupChatBackupNow),
trailing: const Icon(Icons.chevron_right_outlined),
onTap: controller.firstRunBootstrapAction,
),
),
),
Expanded(child: _ChatListViewBody(controller)),