remove unused variable

This commit is contained in:
ashilkn 2022-11-17 11:09:22 +05:30
parent c54355b0bb
commit 107e7c552b

View file

@ -271,11 +271,9 @@ class _OverlayWidgetState extends State<OverlayWidget> {
if (Configuration.instance.hasConfiguredAccount() &&
widget.type != GalleryType.sharedCollection &&
widget.type != GalleryType.hidden) {
String msg = "Add to album";
IconData iconData = Platform.isAndroid ? Icons.add : CupertinoIcons.add;
// show upload icon instead of add for files selected in local gallery
if (widget.type == GalleryType.localFolder) {
msg = "Upload to album";
iconData = Icons.cloud_upload_outlined;
}
actions.add(