π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix require_trailing_commas
Hubert5c6eaa9fb919
diff --git a/lib/core/configuration.dart b/lib/core/configuration.dartindex a39052e655..0717e4b46a 100644--- a/lib/core/configuration.dart+++ b/lib/core/configuration.dart@@ -45,7 +45,7 @@ class Configuration {final List<String> onlineSecureKeys = [keyKey,secretKeyKey,- authSecretKeyKey+ authSecretKeyKey,];final kTempFolderDeletionTimeBuffer = const Duration(days: 1).inMicroseconds;diff --git a/lib/core/logging/tunneled_transport.dart b/lib/core/logging/tunneled_transport.dartindex 9706f72fd8..daf8a7941f 100644--- a/lib/core/logging/tunneled_transport.dart+++ b/lib/core/logging/tunneled_transport.dart@@ -122,7 +122,7 @@ class _CredentialBuilder {return headers..addAll(<String, String>{- 'X-Sentry-Auth': '$_authHeader, sentry_timestamp=$timestamp'+ 'X-Sentry-Auth': '$_authHeader, sentry_timestamp=$timestamp',},);}diff --git a/lib/locale.dart b/lib/locale.dartindex c45f38d75a..ebca9528af 100644--- a/lib/locale.dart+++ b/lib/locale.dart@@ -24,7 +24,7 @@ Locale localResolutionCallBack(locales, supportedLocales) {Locale? languageCodeMatch;final Map<String, Locale> languageCodeToLocale = {for (Locale supportedLocale in appSupportedLocales)- supportedLocale.languageCode: supportedLocale+ supportedLocale.languageCode: supportedLocale,};for (Locale locale in locales) {diff --git a/lib/onboarding/view/view_qr_page.dart b/lib/onboarding/view/view_qr_page.dartindex 9b29b457e4..71f4756a7c 100644--- a/lib/onboarding/view/view_qr_page.dart+++ b/lib/onboarding/view/view_qr_page.dart@@ -89,7 +89,7 @@ class ViewQrPage extends StatelessWidget {child: Text(l10n.back),),),- )+ ),],),),diff --git a/lib/ui/account/email_entry_page.dart b/lib/ui/account/email_entry_page.dartindex f84b68cfeb..e1147f4164 100644--- a/lib/ui/account/email_entry_page.dart+++ b/lib/ui/account/email_entry_page.dart@@ -403,7 +403,7 @@ class _EmailEntryPageState extends State<EmailEntryPage> {style: const TextStyle(decoration: TextDecoration.underline,),- )+ ),},),),diff --git a/lib/ui/account/login_page.dart b/lib/ui/account/login_page.dartindex a2f9414a29..b2cfce7458 100644--- a/lib/ui/account/login_page.dart+++ b/lib/ui/account/login_page.dart@@ -204,14 +204,14 @@ class _LoginPageState extends State<LoginPage> {style: const TextStyle(decoration: TextDecoration.underline,),- )+ ),},),),Expanded(flex: 2,child: Container(),- )+ ),],),),diff --git a/lib/ui/account/login_pwd_verification_page.dart b/lib/ui/account/login_pwd_verification_page.dartindex 0755be1b19..a443cf2498 100644--- a/lib/ui/account/login_pwd_verification_page.dart+++ b/lib/ui/account/login_pwd_verification_page.dart@@ -221,7 +221,7 @@ State<LoginPasswordVerificationPage> {),],),- )+ ),],),),diff --git a/lib/ui/account/ott_verification_page.dart b/lib/ui/account/ott_verification_page.dartindex ce7b8ea354..8bcaf3e349 100644--- a/lib/ui/account/ott_verification_page.dart+++ b/lib/ui/account/ott_verification_page.dart@@ -152,7 +152,7 @@ class _OTTVerificationPageState extends State<OTTVerificationPage> {SizedBox(width: MediaQuery.of(context).size.width * 0.2,height: 1,- )+ ),],),),@@ -203,7 +203,7 @@ class _OTTVerificationPageState extends State<OTTVerificationPage> {decoration: TextDecoration.underline,),),- )+ ),],),),diff --git a/lib/ui/account/password_reentry_page.dart b/lib/ui/account/password_reentry_page.dartindex c8fc23a671..aab2553ebc 100644--- a/lib/ui/account/password_reentry_page.dart+++ b/lib/ui/account/password_reentry_page.dart@@ -310,7 +310,7 @@ class _PasswordReentryPageState extends State<PasswordReentryPage> {),],),- )+ ),],),),diff --git a/lib/ui/account/recovery_key_page.dart b/lib/ui/account/recovery_key_page.dartindex bbe08b7e51..c5ca66fdc9 100644--- a/lib/ui/account/recovery_key_page.dart+++ b/lib/ui/account/recovery_key_page.dart@@ -191,7 +191,7 @@ class _RecoveryKeyPageState extends State<RecoveryKeyPage> {children: _saveOptions(context, recoveryKey),),),- )+ ),],), // columnEnds),diff --git a/lib/ui/account/verify_recovery_page.dart b/lib/ui/account/verify_recovery_page.dartindex 3c9796d106..dad67590b4 100644--- a/lib/ui/account/verify_recovery_page.dart+++ b/lib/ui/account/verify_recovery_page.dart@@ -196,7 +196,7 @@ class _VerifyRecoveryPageState extends State<VerifyRecoveryPage> {),),),- const SizedBox(height: 20)+ const SizedBox(height: 20),],),),diff --git a/lib/ui/common/dynamic_fab.dart b/lib/ui/common/dynamic_fab.dartindex 0fedcff94f..db612882a1 100644--- a/lib/ui/common/dynamic_fab.dart+++ b/lib/ui/common/dynamic_fab.dart@@ -30,7 +30,7 @@ class DynamicFAB extends StatelessWidget {spreadRadius: 200,blurRadius: 100,offset: const Offset(0, 230),- )+ ),],),width: double.infinity,diff --git a/lib/ui/common/progress_dialog.dart b/lib/ui/common/progress_dialog.dartindex a05f031e62..8c9a4e1f16 100644--- a/lib/ui/common/progress_dialog.dart+++ b/lib/ui/common/progress_dialog.dart@@ -277,7 +277,7 @@ class _BodyState extends State<_Body> {_direction == TextDirection.ltr ? loader : text,const SizedBox(width: 8.0),_direction == TextDirection.rtl ? loader : text,- const SizedBox(width: 8.0)+ const SizedBox(width: 8.0),],),],diff --git a/lib/ui/components/buttons/button_widget.dart b/lib/ui/components/buttons/button_widget.dartindex 36f79a364c..28d62f4a66 100644--- a/lib/ui/components/buttons/button_widget.dart+++ b/lib/ui/components/buttons/button_widget.dart@@ -308,7 +308,7 @@ class _ButtonChildWidgetState extends State<ButtonChildWidget> {overflow: TextOverflow.ellipsis,),),- )+ ),],);},diff --git a/lib/ui/components/captioned_text_widget.dart b/lib/ui/components/captioned_text_widget.dartindex 77a161bde2..f03c8551fd 100644--- a/lib/ui/components/captioned_text_widget.dart+++ b/lib/ui/components/captioned_text_widget.dart@@ -48,7 +48,7 @@ class CaptionedTextWidget extends StatelessWidget {],),),- )+ ),],),),diff --git a/lib/ui/components/dialog_widget.dart b/lib/ui/components/dialog_widget.dartindex 02311fc53f..ab96a0dbe8 100644--- a/lib/ui/components/dialog_widget.dart+++ b/lib/ui/components/dialog_widget.dart@@ -280,7 +280,7 @@ class _TextInputDialogState extends State<TextInputDialog> {),),],- )+ ),],),),diff --git a/lib/ui/components/title_bar_widget.dart b/lib/ui/components/title_bar_widget.dartindex 6ee76e1a08..8e22d4f65f 100644--- a/lib/ui/components/title_bar_widget.dart+++ b/lib/ui/components/title_bar_widget.dart@@ -61,7 +61,7 @@ class TitleBarWidget extends StatelessWidget {: Text(caption!,style: textTheme.mini.copyWith(color: colorTheme.textMuted),- )+ ),],),),@@ -112,7 +112,7 @@ class TitleBarWidget extends StatelessWidget {),overflow: TextOverflow.ellipsis,maxLines: 1,- )+ ),],),),diff --git a/lib/ui/home/coach_mark_widget.dart b/lib/ui/home/coach_mark_widget.dartindex 9b4b8b48cd..b0e15d7d2b 100644--- a/lib/ui/home/coach_mark_widget.dart+++ b/lib/ui/home/coach_mark_widget.dart@@ -56,7 +56,7 @@ class CoachMarkWidget extends StatelessWidget {},child: Text(l10n.ok),),- )+ ),],),],diff --git a/lib/ui/scanner_gauth_page.dart b/lib/ui/scanner_gauth_page.dartindex 41909ed325..785f1d3d3a 100644--- a/lib/ui/scanner_gauth_page.dart+++ b/lib/ui/scanner_gauth_page.dart@@ -46,7 +46,8 @@ class ScannerGoogleAuthPageState extends State<ScannerGoogleAuthPage> {child: QRView(key: qrKey,overlay: QrScannerOverlayShape(- borderColor: getEnteColorScheme(context).primary700,),+ borderColor: getEnteColorScheme(context).primary700,+ ),onQRViewCreated: _onQRViewCreated,formatsAllowed: const [BarcodeFormat.qrcode],),@@ -56,7 +57,7 @@ class ScannerGoogleAuthPageState extends State<ScannerGoogleAuthPage> {child: Center(child: (totp != null) ? Text(totp!) : Text(l10n.scanACode),),- )+ ),],),);diff --git a/lib/ui/scanner_page.dart b/lib/ui/scanner_page.dartindex 97ff1278a1..0159f0cfab 100644--- a/lib/ui/scanner_page.dart+++ b/lib/ui/scanner_page.dart@@ -51,7 +51,7 @@ class ScannerPageState extends State<ScannerPage> {child: Center(child: (totp != null) ? Text(totp!) : Text(l10n.scanACode),),- )+ ),],),);diff --git a/lib/ui/settings/faq.dart b/lib/ui/settings/faq.dartindex 3d5c78ab82..d9aa88f1b0 100644--- a/lib/ui/settings/faq.dart+++ b/lib/ui/settings/faq.dart@@ -95,7 +95,7 @@ class FaqWidget extends StatelessWidget {),),),- )+ ),],),);diff --git a/lib/utils/device_info.dart b/lib/utils/device_info.dartindex 10ca82c2a0..5832ec6de7 100644--- a/lib/utils/device_info.dart+++ b/lib/utils/device_info.dart@@ -27,7 +27,7 @@ late Set<String> iOSLowEndMachineCodes = <String>{"iPhone10,2", // iPhone 8 Plus"iPhone10,3", // iPhone X Global"iPhone10,4", // iPhone 8- "iPhone10,5" // iPhone 8+ "iPhone10,5", // iPhone 8};Future<bool> isLowSpecDevice() async {diff --git a/lib/utils/email_util.dart b/lib/utils/email_util.dartindex cdbbfda123..d1ae183958 100644--- a/lib/utils/email_util.dart+++ b/lib/utils/email_util.dart@@ -277,7 +277,7 @@ void _showNoMailAppsDialog(BuildContext context, String toEmail) {onPressed: () {Navigator.pop(context);},- )+ ),],);},