chore(ui,core,llc,persistance,localization): change AppBar props
This commit is contained in:
@@ -138,14 +138,17 @@ class ChannelHeader extends StatelessWidget implements PreferredSizeWidget {
|
||||
break;
|
||||
}
|
||||
|
||||
final theme = Theme.of(context);
|
||||
|
||||
return InfoTile(
|
||||
showMessage: showConnectionStateTile && showStatus,
|
||||
message: statusString,
|
||||
child: AppBar(
|
||||
titleTextStyle: Theme.of(context).appBarTheme.titleTextStyle,
|
||||
systemOverlayStyle: Theme.of(context).brightness == Brightness.dark
|
||||
? SystemUiOverlayStyle.dark
|
||||
: SystemUiOverlayStyle.light,
|
||||
toolbarTextStyle: theme.textTheme.bodyText2,
|
||||
titleTextStyle: theme.textTheme.headline6,
|
||||
systemOverlayStyle: theme.brightness == Brightness.dark
|
||||
? SystemUiOverlayStyle.light
|
||||
: SystemUiOverlayStyle.dark,
|
||||
elevation: 1,
|
||||
leading: leadingWidget,
|
||||
backgroundColor: backgroundColor ?? channelHeaderTheme.color,
|
||||
|
||||
Reference in New Issue
Block a user