Skip to content

armgit / ente

Public Imported from GitHub
0

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

[auth] Lint fix

Neeraj Guptad3fecf383100
diff --git a/auth/lib/models/account/two_factor.dart b/auth/lib/models/account/two_factor.dart
index 6a18f42777..45f7c8fde8 100644
--- a/auth/lib/models/account/two_factor.dart
+++ b/auth/lib/models/account/two_factor.dart
@@ -7,7 +7,5 @@ String twoFactorTypeToString(TwoFactorType type) {
return "totp";
case TwoFactorType.passkey:
return "passkey";
- default:
- return type.name;
}
}
diff --git a/auth/lib/ui/home_page.dart b/auth/lib/ui/home_page.dart
index f958e0a2d8..776d479013 100644
--- a/auth/lib/ui/home_page.dart
+++ b/auth/lib/ui/home_page.dart
@@ -274,7 +274,6 @@ class _HomePageState extends State<HomePage> {
);
break;
case CodeSortKey.manual:
- default:
codes.sort((a, b) => a.display.position.compareTo(b.display.position));
break;
}