We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79b6647 commit c7c3b1fCopy full SHA for c7c3b1f
lib/widgets/lightbox.dart
@@ -143,14 +143,16 @@ class _LightboxPageState extends State<LightboxPage> {
143
child: AnimatedContainer(
144
duration: const Duration(milliseconds: 100),
145
curve: Curves.easeIn,
146
- height: _headerFooterVisible ? AppBar.preferredHeightFor(context,
147
- MediaQuery.of(context).size)
+ height: _headerFooterVisible ? AppBar.preferredHeightFor(
+ context,
148
+ Size(0, MediaQuery.of(context).padding.top + kToolbarHeight)
149
+ )
150
: 0,
151
child: AppBar(
152
centerTitle: false,
153
foregroundColor: appBarForegroundColor,
154
backgroundColor: appBarBackgroundColor,
-
155
+
156
// TODO(#41): Show message author's avatar
157
title: RichText(
158
text: TextSpan(children: [
0 commit comments