🐛 Fix un-centered text

This commit is contained in:
LittleSheep 2025-03-10 21:37:58 +08:00
parent e88dea8858
commit f2d913ffec

View File

@ -25,11 +25,13 @@ class UnauthorizedHint extends StatelessWidget {
Text( Text(
'unauthorized', 'unauthorized',
style: Theme.of(context).textTheme.titleLarge, style: Theme.of(context).textTheme.titleLarge,
textAlign: TextAlign.center,
).tr(), ).tr(),
const Gap(8), const Gap(8),
Text( Text(
'unauthorizedDescription', 'unauthorizedDescription',
style: Theme.of(context).textTheme.bodyMedium, style: Theme.of(context).textTheme.bodyMedium,
textAlign: TextAlign.center,
).tr(), ).tr(),
], ],
), ),
@ -43,7 +45,6 @@ class UnauthorizedHint extends StatelessWidget {
])); ]));
} }
}); });
} });
);
} }
} }