1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 08:15:16 +00:00

Can change conversation image

This commit is contained in:
2021-03-13 11:33:25 +01:00
parent cbbda7237b
commit 642f5e11fc
5 changed files with 71 additions and 2 deletions

View File

@ -173,7 +173,7 @@ Future<BytesFile> showPickFileDialog({
if (file == null) return null;
// Check file size
if (file.bytes.length > maxFileSize) {
if (maxFileSize != null && file.bytes.length > maxFileSize) {
showSimpleSnack(
context,
tr("This file could not be sent: it is too big! (Max allowed size: %1%)",