Skip to content

Commit

Permalink
fix: remove appbar height (#378)
Browse files Browse the repository at this point in the history
Because we have our own CSD desktop titlebar with https://github.com/ubuntu/yaru_widgets.dart/blob/main/lib/src/widgets/yaru_title_bar.dart it is no longer needed to reduce the material appbar height

Fixes #376
  • Loading branch information
Feichtmeier committed Aug 8, 2023
1 parent 6dad909 commit cc20358
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/src/themes/common_themes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ AppBarTheme _createAppBarTheme(ColorScheme colorScheme) {
),
scrolledUnderElevation: kAppBarElevation,
surfaceTintColor: colorScheme.surface,
toolbarHeight: kAppBarHeight,
elevation: kAppBarElevation,
systemOverlayStyle: colorScheme.isLight
? SystemUiOverlayStyle.light
Expand Down
2 changes: 1 addition & 1 deletion lib/src/themes/constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ const kButtonRadius = 6.0;
const kCheckRadius = 3.0;
const kWindowRadius = 8.0;
const kAppBarElevation = 0.0;
const kAppBarHeight = 47.0;

const kDisabledGreyDark = Color(0xFF535353);

0 comments on commit cc20358

Please sign in to comment.