fixed warnings

This commit is contained in:
Kima
2024-04-09 22:25:14 +02:00
parent 4a8d42fe4b
commit feaa3468d7
4 changed files with 5 additions and 25 deletions

View File

@@ -1034,19 +1034,6 @@ class SettingsScreenState extends State<SettingsScreen>
),
],
),
ElevatedButton(
onPressed: () {
// Generate fake error details
FlutterErrorDetails fakeErrorDetails = FlutterErrorDetails(
exception: Exception('test'),
stack: StackTrace.current,
library: 'MyApp',
context: ErrorDescription('test'),
);
showErrorScreen(context, fakeErrorDetails);
},
child: const Text('hiba_tesztelese'),
),
// developer options
if (settings.developerMode)
SplittedPanel(

View File

@@ -37,7 +37,7 @@ class LoginScreenState extends State<LoginScreen> {
BoxDecoration(color: AppColors.of(context).loginBackground),
width: MediaQuery.of(context).size.width,
height: MediaQuery.of(context).size.height,
child: SafeArea(
child: const SafeArea(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [