mirror of
https://github.com/Iconica-Development/flutter_introduction.git
synced 2025-05-18 19:43:44 +02:00
fix: result of should show is now handled properly
This commit is contained in:
parent
7e88d7238d
commit
555502a426
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class _IntroductionState extends State<Introduction> {
|
||||||
return FutureBuilder(
|
return FutureBuilder(
|
||||||
future: _service.shouldShow(),
|
future: _service.shouldShow(),
|
||||||
builder: (context, snapshot) {
|
builder: (context, snapshot) {
|
||||||
if (snapshot.data == null || !snapshot.data!) {
|
if (snapshot.data == null || snapshot.data!) {
|
||||||
return IntroductionScreen(
|
return IntroductionScreen(
|
||||||
options: widget.options,
|
options: widget.options,
|
||||||
onComplete: () async {
|
onComplete: () async {
|
||||||
|
|
Loading…
Reference in a new issue