@@ -8,7 +8,7 @@ import 'page.dart';
8
8
import 'clipboard.dart' ;
9
9
import 'store.dart' ;
10
10
11
- // TODO: Add index of the image preview in the message, to not break if
11
+ // TODO(#44) : Add index of the image preview in the message, to not break if
12
12
// there are multiple image previews with the same URL in the same
13
13
// message. Maybe keep `src`, so that on exit the lightbox image doesn't
14
14
// fly to an image preview with a different URL, following a message edit
@@ -98,7 +98,7 @@ class _LightboxPage extends StatefulWidget {
98
98
}
99
99
100
100
class _LightboxPageState extends State <_LightboxPage > {
101
- // TODO: Animate entrance/exit of header and footer
101
+ // TODO(#38) : Animate entrance/exit of header and footer
102
102
bool _headerFooterVisible = false ;
103
103
104
104
@override
@@ -135,7 +135,7 @@ class _LightboxPageState extends State<_LightboxPage> {
135
135
136
136
PreferredSizeWidget ? appBar;
137
137
if (_headerFooterVisible) {
138
- // TODO: Format with e.g. "Yesterday at 4:47 PM"
138
+ // TODO(#45) : Format with e.g. "Yesterday at 4:47 PM"
139
139
final timestampText = DateFormat
140
140
.yMMMd (/* TODO(i18n): Pass selected language here, I think? */ )
141
141
.add_Hms ()
@@ -146,7 +146,7 @@ class _LightboxPageState extends State<_LightboxPage> {
146
146
foregroundColor: appBarForegroundColor,
147
147
backgroundColor: appBarBackgroundColor,
148
148
149
- // TODO: Show message author's avatar
149
+ // TODO(#41) : Show message author's avatar
150
150
title: RichText (
151
151
text: TextSpan (
152
152
children: [
@@ -170,8 +170,8 @@ class _LightboxPageState extends State<_LightboxPage> {
170
170
child: Row (
171
171
children: [
172
172
_CopyLinkButton (url: widget.src),
173
- // TODO: Share image
174
- // TODO: Download image
173
+ // TODO(#43) : Share image
174
+ // TODO(#42) : Download image
175
175
]));
176
176
}
177
177
@@ -218,7 +218,7 @@ Route getLightboxRoute({
218
218
Animation <double > animation,
219
219
Animation <double > secondaryAnimation,
220
220
) {
221
- // TODO: Drag down to close?
221
+ // TODO(#40) : Drag down to close?
222
222
return _LightboxPage (routeEntranceAnimation: animation, message: message, src: src);
223
223
},
224
224
transitionsBuilder: (
0 commit comments