Skip to content

armgit / ente

Public Imported from GitHub
0

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

[auth] Remove dead code

vishnukvmde27cc11a4936
diff --git a/auth/lib/main.dart b/auth/lib/main.dart
index c747ac41eb..03eb2846d3 100644
--- a/auth/lib/main.dart
+++ b/auth/lib/main.dart
@@ -87,19 +87,6 @@ void main() async {
}
}
-// Future<void> whiteListLetsEncryptRootCA() async {
-// try {
-// // https://stackoverflow.com/a/71090239
-// // https://github.com/ente-io/ente/issues/2178
-// ByteData data =
-// await PlatformAssetBundle().load('assets/ca/lets-encrypt-r3.pem');
-// SecurityContext.defaultContext
-// .setTrustedCertificatesBytes(data.buffer.asUint8List());
-// } catch (e) {
-// _logger.severe("Failed to whitelist Let's Encrypt Root CA", e);
-// }
-// }
-
Future<void> _runInForeground() async {
final savedThemeMode = _themeMode(await AdaptiveTheme.getThemeMode());
return await _runWithLogs(() async {