chore: Adjust settings account design
This commit is contained in:
parent
eb8eea892f
commit
24a2494829
3 changed files with 11 additions and 17 deletions
|
|
@ -281,7 +281,7 @@ class ChatView extends StatelessWidget {
|
|||
? controller.timeline.isRequestingHistory
|
||||
? Center(
|
||||
child: CircularProgressIndicator
|
||||
.adaptive(),
|
||||
.adaptive(strokeWidth: 2),
|
||||
)
|
||||
: controller.canLoadMore
|
||||
? Center(
|
||||
|
|
|
|||
|
|
@ -22,11 +22,13 @@ class SettingsAccountView extends StatelessWidget {
|
|||
child: Column(
|
||||
children: [
|
||||
ListTile(
|
||||
leading: CircleAvatar(
|
||||
foregroundColor: Theme.of(context).primaryColor,
|
||||
backgroundColor: Theme.of(context).secondaryHeaderColor,
|
||||
child: Icon(Icons.account_box_outlined),
|
||||
),
|
||||
trailing: Icon(Icons.add_box_outlined),
|
||||
title: Text(L10n.of(context).addAccount),
|
||||
subtitle: Text(L10n.of(context).enableMultiAccounts),
|
||||
onTap: controller.addAccountAction,
|
||||
),
|
||||
Divider(height: 1),
|
||||
ListTile(
|
||||
title: Text(L10n.of(context).yourUserId),
|
||||
subtitle: Text(Matrix.of(context).client.userID),
|
||||
trailing: Icon(Icons.copy_outlined),
|
||||
|
|
@ -35,14 +37,6 @@ class SettingsAccountView extends StatelessWidget {
|
|||
context,
|
||||
),
|
||||
),
|
||||
Divider(height: 1),
|
||||
ListTile(
|
||||
trailing: Icon(Icons.add_box_outlined),
|
||||
title: Text(L10n.of(context).addAccount),
|
||||
subtitle: Text(L10n.of(context).enableMultiAccounts),
|
||||
onTap: controller.addAccountAction,
|
||||
),
|
||||
Divider(height: 1),
|
||||
ListTile(
|
||||
trailing: Icon(Icons.edit_outlined),
|
||||
title: Text(L10n.of(context).editDisplayname),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue