refactor: Omit local types
This commit is contained in:
parent
e88afdd357
commit
ef5ea57c58
7 changed files with 10 additions and 9 deletions
|
|
@ -64,7 +64,7 @@ class SendFileDialogState extends State<SendFileDialog> {
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
var sendStr = L10n.of(context)!.sendFile;
|
||||
final bool allFilesAreImages =
|
||||
final allFilesAreImages =
|
||||
widget.files.every((file) => file is MatrixImageFile);
|
||||
final sizeString = widget.files
|
||||
.fold<double>(0, (p, file) => p + file.bytes.length)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue