Skip to content

Commit

Permalink
Merge pull request #727 from micahmo/fix/removed-downloading-indicator
Browse files Browse the repository at this point in the history
Restore the share/downloading indicator
  • Loading branch information
hjiangsu committed Sep 11, 2023
2 parents 6681215 + a1d0b56 commit 5a7efc3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/shared/image_viewer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,13 @@ class _ImageViewerState extends State<ImageViewer> with TickerProviderStateMixin
}
},
icon: isDownloadingMedia
? Container()
? SizedBox(
height: 20,
width: 20,
child: CircularProgressIndicator(
color: Colors.white.withOpacity(0.90),
),
)
: Icon(
Icons.share_rounded,
semanticLabel: "Share",
Expand Down

0 comments on commit 5a7efc3

Please sign in to comment.