From 6630c07661095cc04f8386b2584baf3333a78650 Mon Sep 17 00:00:00 2001 From: saiprasad-patil Date: Sat, 5 Aug 2023 06:54:40 +0530 Subject: [PATCH] fix: Add the brand name in the AppBar --- packages/smooth_app/lib/pages/product/edit_product_page.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/smooth_app/lib/pages/product/edit_product_page.dart b/packages/smooth_app/lib/pages/product/edit_product_page.dart index 4b9ca012b69..4642a00d94f 100644 --- a/packages/smooth_app/lib/pages/product/edit_product_page.dart +++ b/packages/smooth_app/lib/pages/product/edit_product_page.dart @@ -60,6 +60,8 @@ class _EditProductPageState extends State with UpToDateMixin { upToDateProduct, appLocalizations, ); + final String productBrand = + getProductBrands(upToDateProduct, appLocalizations); return SmoothScaffold( appBar: SmoothAppBar( @@ -72,7 +74,7 @@ class _EditProductPageState extends State with UpToDateMixin { crossAxisAlignment: CrossAxisAlignment.start, children: [ AutoSizeText( - productName, + '$productBrand,$productName', minFontSize: theme.textTheme.titleLarge?.fontSize?.clamp(13.0, 17.0) ?? 13.0,