🐛 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(
'unauthorized',
style: Theme.of(context).textTheme.titleLarge,
textAlign: TextAlign.center,
).tr(),
const Gap(8),
Text(
'unauthorizedDescription',
style: Theme.of(context).textTheme.bodyMedium,
textAlign: TextAlign.center,
).tr(),
],
),
@ -43,7 +45,6 @@ class UnauthorizedHint extends StatelessWidget {
]));
}
});
}
);
});
}
}