fix: horizontal layout

This commit is contained in:
mso7nueh
2025-07-11 14:05:14 +03:00
parent 27f97d0e11
commit 0749a53e24
5 changed files with 10 additions and 7 deletions

View File

@@ -79,6 +79,9 @@ class _AuthScreenState extends State<AuthScreen> {
@override
Widget build(BuildContext context) {
var shortestSide = MediaQuery.sizeOf(context).shortestSide;
final bool useMobileLayout = shortestSide < 600;
if (!useMobileLayout) isFocused = true;
final s = S.of(context);
FlutterNativeSplash.remove();
return BlocProvider<AuthCubit>(