diff --git a/lib/Components/CustomAppBar.dart b/lib/Components/CustomAppBar.dart index e72125c..e5fe015 100644 --- a/lib/Components/CustomAppBar.dart +++ b/lib/Components/CustomAppBar.dart @@ -32,9 +32,9 @@ class _CustomAppBarState extends State { String cleanedTitle = widget.title.replaceAll('\n', ' ').replaceAll('
', ' '); - String formattedTitle = cleanedTitle.length > 45 + /*String formattedTitle = cleanedTitle.length > 45 ? cleanedTitle.substring(0, 45) + '...' - : cleanedTitle; + : cleanedTitle;*/ //final notchInset = MediaQuery.of(context).padding; return AppBar( @@ -54,10 +54,10 @@ class _CustomAppBarState extends State { }, child: SizedBox( width: widget.isHomeButton ? size.width * 0.8 : null, - height: 60, + height: 58, child: Center( child: HtmlWidget( - formattedTitle, + cleanedTitle, textStyle: const TextStyle(color: Colors.white, fontFamily: 'Roboto', fontSize: 20), customStylesBuilder: (element) {