Skip to content

Commit 5bd0f74

Browse files
committed
edited time for imageViewer
1 parent a26f69f commit 5bd0f74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/widgets/imageViewerWithSlider.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class _ImageViewerWithSliderState extends State<ImageViewerWithSlider> {
3434

3535
// Display the time
3636
Text(
37-
"Time: ${currentRatingPoint.ratedOn.hour}:${currentRatingPoint.ratedOn.minute}",
37+
"Time - ${currentRatingPoint.ratedOn.hour}:00",
3838
style: TextStyle(fontSize: 16),
3939
),
4040

@@ -45,7 +45,7 @@ class _ImageViewerWithSliderState extends State<ImageViewerWithSlider> {
4545
max: (widget.data.length - 1).toDouble(),
4646
divisions: widget.data.length - 1,
4747
label:
48-
"Time: ${currentRatingPoint.ratedOn.hour}:${currentRatingPoint.ratedOn.minute}",
48+
"Time - ${currentRatingPoint.ratedOn.hour}:00}",
4949
onChanged: (double value) {
5050
setState(() {
5151
_currentSliderValue = value;

0 commit comments

Comments
 (0)