From ceed43062ab5384123d06a81948ea3975f95f64e Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 20 May 2021 06:39:08 +0300 Subject: [PATCH] Don't show wizard on demo --- lib/ui/dashboard/dashboard_screen.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/dashboard/dashboard_screen.dart b/lib/ui/dashboard/dashboard_screen.dart index 044823a59..6cf3b6483 100644 --- a/lib/ui/dashboard/dashboard_screen.dart +++ b/lib/ui/dashboard/dashboard_screen.dart @@ -75,7 +75,7 @@ class _DashboardScreenState extends State ScrollController(initialScrollOffset: index * kDashboardPanelHeight) ..addListener(onScrollListener); - if ((state.company.settings.name ?? '').isEmpty) { + if (!state.isDemo && (state.company.settings.name ?? '').isEmpty) { WidgetsBinding.instance.addPostFrameCallback((duration) { showDialog( context: context,