forked from firka/student-legacy
remove test button
This commit is contained in:
parent
1bdb2934f5
commit
6242f7cc2e
@ -1005,20 +1005,6 @@ class SettingsScreenState extends State<SettingsScreen>
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
ElevatedButton(
|
|
||||||
onPressed: () {
|
|
||||||
// Generate fake error details
|
|
||||||
FlutterErrorDetails fakeErrorDetails = FlutterErrorDetails(
|
|
||||||
exception: Exception('fasz'),
|
|
||||||
stack: StackTrace.current,
|
|
||||||
library: 'MyApp',
|
|
||||||
context: ErrorDescription('a kurva a-'),
|
|
||||||
);
|
|
||||||
showErrorScreen(context, fakeErrorDetails);
|
|
||||||
},
|
|
||||||
child: const Text('hiba_tesztelese'),
|
|
||||||
),
|
|
||||||
|
|
||||||
// developer options
|
// developer options
|
||||||
if (settings.developerMode)
|
if (settings.developerMode)
|
||||||
SplittedPanel(
|
SplittedPanel(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user