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:
@ -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%)",
|
||||
|
Reference in New Issue
Block a user