Fix account dialog when theme switch is hidden

This commit is contained in:
Ming Ming 2023-07-23 16:38:02 +08:00
parent e53d0ecf6c
commit 3fd6a47270

View file

@ -100,14 +100,11 @@ class _WrappedAccountPickerDialog extends StatelessWidget {
children: [
const SizedBox(height: 8),
Stack(
alignment: Alignment.center,
children: [
Positioned.fill(
child: Center(
child: Text(
L10n.global().appTitle,
style: Theme.of(context).textTheme.headlineSmall,
),
),
Text(
L10n.global().appTitle,
style: Theme.of(context).textTheme.headlineSmall,
),
if (!Pref().isFollowSystemThemeOr(false))
Align(