Skip to content

armgit / ente

Public Imported from GitHub
0

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

Update grid view

vishnukvmd7a0be3f70ef2
diff --git a/mobile/apps/locker/lib/ui/components/file_row_widget.dart b/mobile/apps/locker/lib/ui/components/file_row_widget.dart
index 8a4a5f322b..1aee865c00 100644
--- a/mobile/apps/locker/lib/ui/components/file_row_widget.dart
+++ b/mobile/apps/locker/lib/ui/components/file_row_widget.dart
@@ -1,5 +1,6 @@
import "package:ente_ui/theme/ente_theme.dart";
import "package:flutter/material.dart";
+import "package:hugeicons/hugeicons.dart";
import "package:locker/models/selected_files.dart";
import "package:locker/services/files/sync/models/file.dart";
import "package:locker/services/info_file_service.dart";
@@ -69,32 +70,35 @@ class FileRowWidget extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.start,
children: [
- SizedBox(
- height: 40,
- width: 40,
- child: _buildFileIcon(),
- ),
- const Spacer(),
Row(
- crossAxisAlignment: CrossAxisAlignment.end,
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ crossAxisAlignment: CrossAxisAlignment.start,
children: [
- Expanded(
- child: Text(
- file.displayName,
- style: textTheme.body,
- textAlign: TextAlign.left,
- overflow: TextOverflow.ellipsis,
- maxLines: 2,
- ),
+ SizedBox(
+ height: 40,
+ width: 40,
+ child: _buildFileIcon(),
),
- const SizedBox(width: 4),
+ const SizedBox(width: 12),
+ const Spacer(),
FilePopupMenuWidget(
file: file,
overflowActions: overflowActions,
+ child: HugeIcon(
+ icon: HugeIcons.strokeRoundedMoreVertical,
+ color: colorScheme.textBase,
+ ),
),
],
),
+ const SizedBox(height: 12),
+ const Spacer(),
+ Text(
+ file.displayName,
+ style: textTheme.body,
+ textAlign: TextAlign.left,
+ overflow: TextOverflow.ellipsis,
+ maxLines: 2,
+ ),
const SizedBox(height: 4),
],
),