forked from cwtch.im/cwtch-ui
Rename Constant
This commit is contained in:
parent
5b5fe586e8
commit
d902ba5cce
|
@ -1,3 +1,3 @@
|
|||
const int MaxImageFileSharingSize = 20971520;
|
||||
|
||||
const int MaxGeneralImageFileSharingSize = 10737418240;
|
||||
const int MaxGeneralFileSharingSize = 10737418240;
|
||||
|
|
|
@ -94,7 +94,7 @@ class _MessageViewState extends State<MessageView> {
|
|||
? null
|
||||
: () {
|
||||
imagePreview = null;
|
||||
filesharing.showFilePicker(context, MaxGeneralImageFileSharingSize, (File file) {
|
||||
filesharing.showFilePicker(context, MaxGeneralFileSharingSize, (File file) {
|
||||
_confirmFileSend(context, file.path);
|
||||
}, () {
|
||||
final snackBar = SnackBar(
|
||||
|
|
Loading…
Reference in New Issue