copy changes

This commit is contained in:
Neeraj Gupta 2022-09-15 13:34:41 +05:30
parent 2f3b75b29f
commit 571c258f78
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -163,7 +163,7 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
PopupMenuButton(
itemBuilder: (context) {
final List<PopupMenuItem> items = [];
if (widget.collection.type == CollectionType.album) {
if (widget.collection.type != CollectionType.favorites) {
items.add(
PopupMenuItem(
value: 1,
@ -173,7 +173,7 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
Padding(
padding: EdgeInsets.all(8),
),
Text("Rename"),
Text("Rename album"),
],
),
),
@ -189,7 +189,7 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
const Padding(
padding: EdgeInsets.all(8),
),
Text(isArchived ? "Unhide" : "Hide"),
Text(isArchived ? "Unhide album" : "Hide album"),
],
),
),
@ -200,11 +200,11 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
value: 3,
child: Row(
children: const [
Icon(Icons.delete_sweep_outlined),
Icon(Icons.delete_outline),
Padding(
padding: EdgeInsets.all(8),
),
Text("Delete Album"),
Text("Delete album"),
],
),
),