Mobile. Share Screen. Server page. Make card title follow theme

This commit is contained in:
grummbeer 2023-03-09 12:09:45 +01:00
parent 4d95ada300
commit b86f27f8bd

View File

@ -482,11 +482,12 @@ class PaddingCard extends StatelessWidget {
child: titleIcon) child: titleIcon)
: const SizedBox.shrink(), : const SizedBox.shrink(),
Expanded( Expanded(
child: Text( child: Text(title!,
title!, style: Theme.of(context)
style: const TextStyle( .textTheme
fontSize: 18, fontWeight: FontWeight.bold), .titleLarge
), // @todo once the font weight is defined in theme, remove it here to be equal insted of individual
?.merge(TextStyle(fontWeight: FontWeight.bold))),
) )
], ],
))); )));