Skip to content

Commit 162263d

Browse files
committed
decided to just keep the Close button the the same side
1 parent 0fe59fd commit 162263d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/widgets/lightbox.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,13 @@ class _LightboxPageState extends State<_LightboxPage> {
152152
child: RealmContentNetworkImage(avatarUrl),
153153
),
154154
)
155-
: null;
155+
: const SizedBox.shrink();
156156
appBar = AppBar(
157157
centerTitle: false,
158158
foregroundColor: appBarForegroundColor,
159159
backgroundColor: appBarBackgroundColor,
160160
leading: avatar,
161-
actions: avatar != null ? [const CloseButton()] : null,
161+
actions: const [CloseButton()],
162162
title: RichText(
163163
text: TextSpan(children: [
164164
TextSpan(

0 commit comments

Comments
 (0)