Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] feat: add NewAlbumRowItemWidget for creating new albums in grid view

Aman Raj Singh Mouryadc05e254cbdb
diff --git a/mobile/lib/ui/collections/new_album_icon.dart b/mobile/lib/ui/collections/album/new_row_item.dart
similarity index 95%
rename from mobile/lib/ui/collections/new_album_icon.dart
rename to mobile/lib/ui/collections/album/new_row_item.dart
index 8a58afc6cb..3a7d92b879 100644
--- a/mobile/lib/ui/collections/new_album_icon.dart
+++ b/mobile/lib/ui/collections/album/new_row_item.dart
@@ -10,11 +10,11 @@ import "package:photos/ui/viewer/gallery/collection_page.dart";
import "package:photos/utils/dialog_util.dart";
import "package:photos/utils/navigation_util.dart";
-class NewAlbumIcon extends StatelessWidget {
+class NewAlbumRowItemWidget extends StatelessWidget {
final Color? color;
final double height;
final double width;
- const NewAlbumIcon({
+ const NewAlbumRowItemWidget({
this.color,
super.key,
required this.height,
@@ -52,7 +52,7 @@ class NewAlbumIcon extends StatelessWidget {
);
Navigator.of(context).pop();
} catch (e, s) {
- Logger("CreateNewAlbumIcon")
+ Logger("CreateNewAlbumRowItemWidget")
.severe("Failed to rename album", e, s);
rethrow;
}