Fix if
This commit is contained in:
parent
a3e067776e
commit
2111cdc35f
|
|
@ -90,7 +90,7 @@ void main(List<String> args) async {
|
|||
text: snapshot.error.toString()));
|
||||
} else {
|
||||
// loading
|
||||
return const MaterialApp(home: {% if splash_screen "BlankScreen()" else "SplashScreen()" %});
|
||||
return const MaterialApp(home: {% if splash_screen %}BlankScreen(){% else %}SplashScreen(){% endif %});
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue