Skip to content

Commit d368d78

Browse files
megahirtjasonleenaylor
authored andcommitted
increase audio and picture file size limit to 10MB
This is in response to users who report a need to add audio and pictures to their project over 1MB. The 1MB is reported to be too small. Because we don't know practically how this will impact the majority of users, I am happy to introduce this change and evaluate the impact (plus/minus) on Language Forge and FLEx users who use Language Depot to collaborate.
1 parent 327aa7e commit d368d78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/LibChorus/FileTypeHandlers/audio/AudioFileTypeHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public IEnumerable<string> GetExtensionsOfKnownTextFileTypes()
7979
/// </remarks>
8080
public uint MaximumFileSize
8181
{
82-
get { return LargeFileFilter.Megabyte; }
82+
get { return LargeFileFilter.Megabyte * 10; }
8383
}
8484
}
8585
}

src/LibChorus/FileTypeHandlers/image/ImageFileTypeHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public IEnumerable<string> GetExtensionsOfKnownTextFileTypes()
8383
/// </remarks>
8484
public uint MaximumFileSize
8585
{
86-
get { return LargeFileFilter.Megabyte; }
86+
get { return LargeFileFilter.Megabyte * 10; }
8787
}
8888
}
8989
}

0 commit comments

Comments
 (0)