diff --git a/src/App/Pages/Send/SendAddEditPageViewModel.cs b/src/App/Pages/Send/SendAddEditPageViewModel.cs index 41f3bb354..142d461d4 100644 --- a/src/App/Pages/Send/SendAddEditPageViewModel.cs +++ b/src/App/Pages/Send/SendAddEditPageViewModel.cs @@ -356,7 +356,7 @@ namespace Bit.App.Pages AppResources.AnErrorHasOccurred); return false; } - if (FileData.Length > 524288000) // 500 MB + if (FileData.Length > 104857600) // 100 MB { await _platformUtilsService.ShowDialogAsync(AppResources.MaxFileSize, AppResources.AnErrorHasOccurred); diff --git a/src/App/Pages/Vault/AttachmentsPageViewModel.cs b/src/App/Pages/Vault/AttachmentsPageViewModel.cs index 6063d2660..bed4ecf85 100644 --- a/src/App/Pages/Vault/AttachmentsPageViewModel.cs +++ b/src/App/Pages/Vault/AttachmentsPageViewModel.cs @@ -102,7 +102,7 @@ namespace Bit.App.Pages AppResources.AnErrorHasOccurred); return false; } - if (FileData.Length > 524288000) // 500 MB + if (FileData.Length > 104857600) // 100 MB { await _platformUtilsService.ShowDialogAsync(AppResources.MaxFileSize, AppResources.AnErrorHasOccurred); diff --git a/src/App/Resources/AppResources.resx b/src/App/Resources/AppResources.resx index f6518c92d..419efc43c 100644 --- a/src/App/Resources/AppResources.resx +++ b/src/App/Resources/AppResources.resx @@ -926,7 +926,7 @@ Feature Unavailable - Maximum file size is 500 MB. + Maximum file size is 100 MB. You cannot use this feature until you update your encryption key.