Skip to content

Commit 35bad03

Browse files
committed
merge issues fixed
1 parent 23bb093 commit 35bad03

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

lib/components/appbar/gf_appbar.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -321,12 +321,12 @@ class _GFAppBarState extends State<GFAppBar> {
321321
IconThemeData actionsIconTheme = widget.actionsIconTheme ??
322322
appBarTheme.actionsIconTheme ??
323323
overallIconTheme;
324-
TextStyle centerStyle = widget.textTheme?.headline ??
325-
appBarTheme.textTheme?.headline ??
326-
theme.primaryTextTheme.headline;
327-
TextStyle sideStyle = widget.textTheme?.body1 ??
328-
appBarTheme.textTheme?.body1 ??
329-
theme.primaryTextTheme.body1;
324+
TextStyle centerStyle = widget.textTheme?.headline1 ??
325+
appBarTheme.textTheme?.headline1 ??
326+
theme.primaryTextTheme.headline1;
327+
TextStyle sideStyle = widget.textTheme?.bodyText1 ??
328+
appBarTheme.textTheme?.bodyText1 ??
329+
theme.primaryTextTheme.bodyText1;
330330

331331
if (widget.toolbarOpacity != 1.0) {
332332
final double opacity = const Interval(

lib/components/avatar/gf_avatar.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class GFAvatar extends StatelessWidget {
8787
final Color foregroundColor = this.foregroundColor;
8888
assert(debugCheckHasMediaQuery(context));
8989
final ThemeData theme = Theme.of(context);
90-
TextStyle textStyle = theme.primaryTextTheme.subtitle.copyWith(
90+
TextStyle textStyle = theme.primaryTextTheme.subtitle1.copyWith(
9191
color: foregroundColor,
9292
);
9393
Color effectiveBackgroundColor = backgroundColor;

0 commit comments

Comments
 (0)