Skip to content
Snippets Groups Projects
Commit cece41dd authored by Sara Savanovic Djordjevic's avatar Sara Savanovic Djordjevic
Browse files

update: remove redundant scaffold key

parent 749dc2c0
No related branches found
No related tags found
2 merge requests!9Clhp map,!8Clhp map
......@@ -24,8 +24,6 @@ class _DefaultPageState extends State<DefaultPage> {
late Future<List<Measurement>> markerListFuture;
late Future<Uint8List> relationFuture;
final GlobalKey<ScaffoldMessengerState> _scaffoldMessengerKey = GlobalKey<ScaffoldMessengerState>();
@override
void initState() {
super.initState();
......@@ -85,7 +83,6 @@ class _DefaultPageState extends State<DefaultPage> {
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
key: _scaffoldMessengerKey,
appBar: AppBar(
title: const Text('IceMap'),
actions: [
......@@ -113,8 +110,8 @@ class _DefaultPageState extends State<DefaultPage> {
'assets/icons/frozen.png', // Loading screen icon
// Icon from: https://www.flaticon.com/free-icons/cold-water"
color: lightBlue,
width: 200,
height: 200,
width: 170,
height: 170,
),
),
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment