Tweak UI style

This commit is contained in:
Ming Ming 2023-08-09 00:42:00 +08:00
parent 3dce9af3dd
commit 85a9157a9d

View file

@ -105,9 +105,12 @@ class _WrappedAccountPickerDialog extends StatelessWidget {
Stack( Stack(
alignment: Alignment.center, alignment: Alignment.center,
children: [ children: [
Text( Padding(
L10n.global().appTitle, padding: const EdgeInsets.symmetric(vertical: 8),
style: Theme.of(context).textTheme.headlineSmall, child: Text(
L10n.global().appTitle,
style: Theme.of(context).textTheme.titleLarge,
),
), ),
if (!Pref().isFollowSystemThemeOr(false)) if (!Pref().isFollowSystemThemeOr(false))
Align( Align(
@ -266,6 +269,7 @@ class _AccountTile extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
final accountLabel = AccountPref.of(account).getAccountLabel(); final accountLabel = AccountPref.of(account).getAccountLabel();
return ListTile( return ListTile(
dense: true,
leading: SizedBox.square( leading: SizedBox.square(
dimension: 40, dimension: 40,
child: Center(child: _AccountIcon(account)), child: Center(child: _AccountIcon(account)),
@ -327,6 +331,7 @@ class _IconTile extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
final content = ListTile( final content = ListTile(
dense: true,
leading: SizedBox.square( leading: SizedBox.square(
dimension: 40, dimension: 40,
child: Center(child: icon), child: Center(child: icon),