Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Merge main

AmanRajSinghMourya40fd53c5338d
diff --cc mobile/packages/ente_components/lib/components/app_bar_component.dart
index cabc75a67c,43bea1fccf..2ddca81a10
--- a/mobile/packages/ente_components/lib/components/app_bar_component.dart
+++ b/mobile/packages/ente_components/lib/components/app_bar_component.dart
@@@ -480,9 -476,14 +494,16 @@@ class _HeaderAppBarDelegate extends Sli
? 1.0
: (shrinkOffset / scrollRange).clamp(0.0, 1.0);
final titleProgress = Curves.easeInOut.transform(progress);
+ final visibleCollapsibleBottomHeight =
+ collapsibleBottomHeight * (1 - progress);
- final expandedTitleHeight = titleBuilderHeight ?? expandedTitleLineHeight;
+ final eyebrowLineHeight = eyebrow == null
+ ? 0.0
+ : _scaledLineHeight(
+ MediaQuery.textScalerOf(context),
+ _expandedEyebrowStyle,
+ );
+ final expandedTitleHeight =
+ titleBuilderHeight ?? expandedTitleLineHeight + eyebrowLineHeight;
final collapsedTitleHeight = titleBuilderHeight ?? collapsedTitleLineHeight;
final titleLayoutHeight = titleBuilderHeight == null
? lerpDouble(expandedTitleHeight, collapsedTitleHeight, titleProgress)!