π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix: don't log in debug mode
Prateek Sunaldfad48491172
diff --git a/mobile/apps/auth/lib/app/view/app.dart b/mobile/apps/auth/lib/app/view/app.dartindex 3ed5db7552..2842d3a2c4 100644--- a/mobile/apps/auth/lib/app/view/app.dart+++ b/mobile/apps/auth/lib/app/view/app.dart@@ -245,22 +245,22 @@ class _AppState extends State<App>}Widget _materialAppBuilder(BuildContext context, Widget? widget) {- Widget errorWidget = const Center(- child: Text('Something went wrong'),+ Widget errorWidget = Center(+ child: Text(context.l10n.somethingWentWrongMessage),);if (widget is Scaffold || widget is Navigator) {errorWidget = Scaffold(body: Center(child: errorWidget));}ErrorWidget.builder = (FlutterErrorDetails details) {+ if (kDebugMode) {+ return ErrorWidget.builder(details);+ }_renderErrorLogger.severe('Unhandled rendering error',details.exception,details.stack,);- if (kDebugMode) {- return ErrorWidget.builder(details);- }return errorWidget;};