fix: Minor fixes
This commit is contained in:
parent
61fdb7f22f
commit
a143b978a3
3 changed files with 16 additions and 14 deletions
|
|
@ -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)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue