mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-25 00:14:42 +01:00
Tweak UI style
This commit is contained in:
parent
3dce9af3dd
commit
85a9157a9d
1 changed files with 8 additions and 3 deletions
|
@ -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),
|
||||||
|
|
Loading…
Add table
Reference in a new issue