Skip to content

armgit / ente

Public Imported from GitHub
0

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

Lint fixes

AmanRajSinghMourya7d20122c2de7
diff --git a/mobile/apps/locker/lib/services/files/links/links_service.dart b/mobile/apps/locker/lib/services/files/links/links_service.dart
index 9a45462f78..83be9ea072 100644
--- a/mobile/apps/locker/lib/services/files/links/links_service.dart
+++ b/mobile/apps/locker/lib/services/files/links/links_service.dart
@@ -59,7 +59,8 @@ class LinksService {
final userPublicKey = keyAttributes?.publicKey;
if (userPublicKey == null) {
throw StateError(
- "Public key unavailable while generating share secret");
+ "Public key unavailable while generating share secret",
+ );
}
final encryptedShareKeyBytes = CryptoUtil.sealSync(
Uint8List.fromList(utf8.encode(secretBase64)),
diff --git a/mobile/apps/locker/lib/ui/pages/account_credentials_page.dart b/mobile/apps/locker/lib/ui/pages/account_credentials_page.dart
index 8854c28230..4aedafdde7 100644
--- a/mobile/apps/locker/lib/ui/pages/account_credentials_page.dart
+++ b/mobile/apps/locker/lib/ui/pages/account_credentials_page.dart
@@ -166,9 +166,6 @@ class _AccountCredentialsPageState
_passwordVisible = !_passwordVisible;
});
},
- child: Icon(
- _passwordVisible ? Icons.visibility : Icons.visibility_off,
- ),
),
validator: (value) {
if (value == null || value.trim().isEmpty) {