diff --git a/packages/smooth_app/lib/pages/product/edit_ocr_page.dart b/packages/smooth_app/lib/pages/product/edit_ocr_page.dart index 597e44b718c..229e429d7e5 100644 --- a/packages/smooth_app/lib/pages/product/edit_ocr_page.dart +++ b/packages/smooth_app/lib/pages/product/edit_ocr_page.dart @@ -147,14 +147,9 @@ class _EditOcrPageState extends State with UpToDateMixin { _helper.getTitle(appLocalizations), style: appbarTextStyle, ), - subTitle: upToDateProduct.productName != null - ? Text( - '${upToDateProduct.productName!.trim()}, ${upToDateProduct.brands!.trim()}', - maxLines: 1, - overflow: TextOverflow.ellipsis, - style: appbarTextStyle, - ) - : null, + subTitle: DefaultTextStyle( + style: appbarTextStyle, + child: buildProductTitle(upToDateProduct, appLocalizations)), backgroundColor: Colors.transparent, flexibleSpace: ClipRect( child: BackdropFilter(