Skip to content

armgit / ente

Public Imported from GitHub
0

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

auth: fix trailing comma lint failures

Neeraj Gupta30c9e7398009
diff --git a/mobile/apps/auth/lib/ui/home_page.dart b/mobile/apps/auth/lib/ui/home_page.dart
index a777bd546b..e54bab7144 100644
--- a/mobile/apps/auth/lib/ui/home_page.dart
+++ b/mobile/apps/auth/lib/ui/home_page.dart
@@ -311,7 +311,8 @@ class _HomePageState extends State<HomePage> {
// if all are pinned, unpin all
for (final code in codesToUpdate) {
updatedCodes.add(
- code.copyWith(display: code.display.copyWith(pinned: false)));
+ code.copyWith(display: code.display.copyWith(pinned: false)),
+ );
}
if (codesToUpdate.length == 1) {
@@ -370,7 +371,8 @@ class _HomePageState extends State<HomePage> {
if (code.isPinned) {
// only unpin the codes that are currently pinned
updatedCodes.add(
- code.copyWith(display: code.display.copyWith(pinned: false)));
+ code.copyWith(display: code.display.copyWith(pinned: false)),
+ );
unpinnedCount++;
}
}