From 47460e7ff70adb3c1f2363a799dc1837924f2477 Mon Sep 17 00:00:00 2001 From: monsieurtanuki Date: Mon, 9 May 2022 10:49:31 +0200 Subject: [PATCH] fix: #1787 - SMOOTHIE-V9 Impacted file: * `knowledge_panel_page.dart`: handled the case when `panel.titleElement==null` --- .../product_cards/knowledge_panels/knowledge_panel_page.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/smooth_app/lib/cards/product_cards/knowledge_panels/knowledge_panel_page.dart b/packages/smooth_app/lib/cards/product_cards/knowledge_panels/knowledge_panel_page.dart index c944bc7e4dcb..1876165d0ad2 100644 --- a/packages/smooth_app/lib/cards/product_cards/knowledge_panels/knowledge_panel_page.dart +++ b/packages/smooth_app/lib/cards/product_cards/knowledge_panels/knowledge_panel_page.dart @@ -25,7 +25,8 @@ class KnowledgePanelPage extends StatelessWidget { ColorDestination.SURFACE_BACKGROUND, ), appBar: AppBar( - title: Text(panel.titleElement!.title), + title: + panel.titleElement == null ? null : Text(panel.titleElement!.title), ), body: SingleChildScrollView( child: SmoothCard(